Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Exception.php
Go to the documentation of this file.
1 <?php
24 #require_once 'Zend/Exception.php';
25 
26 
52 {
53  /**** Class Constants ****/
54 
55 
56  /* Generic Exceptions */
57 
62  const NOT_IMPLEMENTED = 0x0001;
63 
69  const DEPRECATED = 0x0002;
70 
74  const TOO_FEW_PARAMETERS = 0x0003;
75 
79  const BAD_PARAMETER_TYPE = 0x0004;
80 
84  const BAD_PARAMETER_VALUE = 0x0005;
85 
90 
95  const BAD_METHOD_SIGNATURE = 0x0007;
96 
100  const INDEX_OUT_OF_RANGE = 0x0008;
101 
102 
103 
104  /* Filesystem I/O */
105 
109  const BAD_FILE_PATH = 0x0101;
110 
114  const NOT_READABLE = 0x0102;
115 
119  const NOT_WRITEABLE = 0x0103;
120 
124  const FILE_NOT_OPEN = 0x0104;
125 
129  const CANT_OPEN_FILE = 0x0105;
130 
135  const CANT_GET_FILE_POSITION = 0x0106;
136 
140  const CANT_SET_FILE_POSITION = 0x0107;
141 
147 
152  const MOVE_BEYOND_END_OF_FILE = 0x0109;
153 
157  const CANT_GET_FILE_SIZE = 0x010a;
158 
162  const ERROR_DURING_READ = 0x010b;
163 
167  const ERROR_DURING_WRITE = 0x010c;
168 
172  const INVALID_PAGE_SIZE = 0x010d;
173 
177  const INSUFFICIENT_DATA = 0x010e;
178 
179 
180 
181  /* Zend_Pdf_FileParser */
182 
186  const BAD_DATA_SOURCE = 0x0201;
187 
191  const INVALID_BYTE_ORDER = 0x0202;
192 
196  const INVALID_INTEGER_SIZE = 0x0203;
197 
201  const BAD_FIXED_POINT_SIZE = 0x0204;
202 
206  const CANT_READ_STRING = 0x0205;
207 
212  const PARSED_OUT_OF_ORDER = 0x0206;
213 
214 
215 
216  /* Zend_Pdf_FileParser_Font and Subclasses */
217 
221  const WRONG_FONT_TYPE = 0x0301;
222 
226  const BAD_TABLE_COUNT = 0x0302;
227 
231  const REQUIRED_TABLE_NOT_FOUND = 0x0303;
232 
237 
241  const BAD_MAGIC_NUMBER = 0x0304;
242 
246  const CANT_FIND_GOOD_CMAP = 0x0305;
247 
248 
249 
250  /* Zend_Pdf_Cmap and Subclasses */
251 
255  const CMAP_TYPE_UNSUPPORTED = 0x0401;
256 
260  const CMAP_UNKNOWN_TYPE = 0x0402;
261 
266 
270  const CMAP_WRONG_TABLE_TYPE = 0x0404;
271 
275  const CMAP_WRONG_TABLE_LENGTH = 0x0405;
276 
282 
288 
292  const CMAP_WRONG_ENTRY_COUNT = 0x0408;
293 
294 
295 
296  /* Zend_Pdf_Resource_Font and Subclasses */
297 
301  const GLYPH_OUT_OF_RANGE = 0x0501;
302 
308  const FONT_CANT_BE_EMBEDDED = 0x0502;
309 
310 
311 
312  /* Zend_Pdf_Font */
313 
318  const BAD_FONT_NAME = 0x0601;
319 
323  const CANT_DETERMINE_FONT_TYPE = 0x0602;
324 
325 
326  /* Text Layout System */
327 
331  const BAD_ATTRIBUTE_VALUE = 0x0701;
332 
333 
334  /* Zend_Pdf_Image and Subclasses */
335 
337  const WRONG_IMAGE_TYPE = 0x0802;
339  const IMAGE_FILE_CORRUPT = 0x0804;
340 
341 
342 }
343 
const PARAMETER_VALUE_OUT_OF_RANGE
Definition: Exception.php:89
const ERROR_DURING_WRITE
Definition: Exception.php:167
const DONT_UNDERSTAND_TABLE_VERSION
Definition: Exception.php:236
const CANT_FIND_GOOD_CMAP
Definition: Exception.php:246
const CANT_GET_FILE_POSITION
Definition: Exception.php:135
const FONT_CANT_BE_EMBEDDED
Definition: Exception.php:308
const PARSED_OUT_OF_ORDER
Definition: Exception.php:212
const BAD_PARAMETER_VALUE
Definition: Exception.php:84
const IMAGE_FILE_CORRUPT
Definition: Exception.php:339
const BAD_PARAMETER_TYPE
Definition: Exception.php:79
const CMAP_WRONG_TABLE_LENGTH
Definition: Exception.php:275
const BAD_ATTRIBUTE_VALUE
Definition: Exception.php:331
const REQUIRED_TABLE_NOT_FOUND
Definition: Exception.php:231
const CMAP_FINAL_OFFSET_NOT_LENGTH
Definition: Exception.php:287
const INDEX_OUT_OF_RANGE
Definition: Exception.php:100
const CMAP_WRONG_ENTRY_COUNT
Definition: Exception.php:292
const INVALID_INTEGER_SIZE
Definition: Exception.php:196
const CMAP_TABLE_DATA_TOO_SMALL
Definition: Exception.php:265
const BAD_FIXED_POINT_SIZE
Definition: Exception.php:201
const TOO_FEW_PARAMETERS
Definition: Exception.php:74
const CANT_SET_FILE_POSITION
Definition: Exception.php:140
const CANT_GET_FILE_SIZE
Definition: Exception.php:157
const MOVE_BEYOND_END_OF_FILE
Definition: Exception.php:152
const BAD_METHOD_SIGNATURE
Definition: Exception.php:95
const INVALID_BYTE_ORDER
Definition: Exception.php:191
const GLYPH_OUT_OF_RANGE
Definition: Exception.php:301
const CANT_DETERMINE_FONT_TYPE
Definition: Exception.php:323
const CMAP_WRONG_TABLE_TYPE
Definition: Exception.php:270
const CANT_DETERMINE_IMAGE_TYPE
Definition: Exception.php:336
const MOVE_BEFORE_START_OF_FILE
Definition: Exception.php:146
const UNSUPPORTED_IMAGE_ENCODING_OPTIONS
Definition: Exception.php:338
const CMAP_NOT_LANGUAGE_INDEPENDENT
Definition: Exception.php:281
const CMAP_TYPE_UNSUPPORTED
Definition: Exception.php:255