Exception class for Zend_Pdf.
If you expect a certain type of exception to be caught and handled by the caller, create a constant for it here and include it in the object being thrown. Example:
throw new Zend_Pdf_Exception('foo() is not yet implemented', Zend_Pdf_Exception::NOT_IMPLEMENTED);
This allows the caller to determine the specific type of exception that was thrown without resorting to parsing the descriptive text.
IMPORTANT: Do not rely on numeric values of the constants! They are grouped sequentially below for organizational purposes only. The numbers may come to mean something in the future, but they are subject to renumbering at any time. ALWAYS use the symbolic constant names, which are guaranteed never to change, in logical checks! You have been warned.
Located in /Pdf/Exception.php (line 51)
Exception | --Zend_Exception | --Zend_Pdf_Exception
Inherited From Zend_Exception
Zend_Exception::__construct()
Zend_Exception::_getPrevious()
Zend_Exception::__call()
Zend_Exception::__toString()
The specified attribute value for the text object cannot be used.
The file parser data source object was invalid or improperly initialized.
The file path was unusable or invalid.
An invalid fixed-point number size was specified.
The font name did not match any previously instantiated font and is not one of the standard 14 PDF fonts.
The magic number in the font file is incorrect.
The method that has multiple signatures could not understand the number and/or types of parameters.
A parameter was of the wrong data type.
A parameter contained an unusable value.
The number of tables contained in the font is outside the expected range.
The factory method could not determine the type of the font file.
Could not locate a usable character map for this font.
An error was encountered while attempting to obtain the current file position.
An error was encountered while attempting to obtain the file size.
An error was encountered while attempting to open the file.
The string cannot be read.
An error was encountered while attempting to set a new file position.
The final byte offset when reading the character map table data does not match the reported length of the table.
This character map table is language-dependent. Character maps must be language-independent.
The character map table data is too small.
The character map type is currently unsupported.
The type of the character map is not understood.
The character map subtable entry count does not match the expected value.
The character map table data contains in incorrect length.
The character map table data is for a different type of table.
The feature or option has been deprecated and will be removed in a future revision of the framework. The descriptive text accompanying this exception should explain how to use the replacement features or options.
The parser does not understand this version of this table in the font.
An error was encountered while attempting to read data from the file.
An error was encountered while attempting to write data to the file.
The file resource has been closed unexpectedly.
This font program has copyright bits set which prevent it from being embedded in the PDF file. You must specify the no-embed option to use this font.
The specified glyph number is out of range for this font.
An array or string index was out of range.
There is insufficient data to fulfill the read request.
An unknown byte order was specified.
An invalid integer size was specified.
An incompatible page size was specified for a buffered read operation.
An attempt was made to move the current file position before the start of the file.
An attempt was made to move the current file position beyond the end of the file.
The feature or option is planned but has not yet been implemented. It should be available in a future revision of the framework.
The file is not readable by the current user.
The file is not writeable by the current user.
A parameter value was not within the expected range.
This file type must be parsed in a specific order and a parsing method was called out-of-turn.
A required table was not present in the font.
Not enough paramaters were supplied to the method.
The font file type is incorrect.
Documentation generated on Mon, 21 Jun 2010 15:20:57 -0400 by phpDocumentor 1.4.3