Zend Framework  1.12
Public Attributes | List of all members
Zend_Pdf_Exception Class Reference

Public Attributes

const NOT_IMPLEMENTED = 0x0001
 The feature or option is planned but has not yet been implemented.
 
const DEPRECATED = 0x0002
 The feature or option has been deprecated and will be removed in a future revision of the framework.
 
const TOO_FEW_PARAMETERS = 0x0003
 Not enough paramaters were supplied to the method.
 
const BAD_PARAMETER_TYPE = 0x0004
 A parameter was of the wrong data type.
 
const BAD_PARAMETER_VALUE = 0x0005
 A parameter contained an unusable value.
 
const PARAMETER_VALUE_OUT_OF_RANGE = 0x0006
 A parameter value was not within the expected range.
 
const BAD_METHOD_SIGNATURE = 0x0007
 The method that has multiple signatures could not understand the number and/or types of parameters.
 
const INDEX_OUT_OF_RANGE = 0x0008
 An array or string index was out of range.
 
const BAD_FILE_PATH = 0x0101
 The file path was unusable or invalid.
 
const NOT_READABLE = 0x0102
 The file is not readable by the current user.
 
const NOT_WRITEABLE = 0x0103
 The file is not writeable by the current user.
 
const FILE_NOT_OPEN = 0x0104
 The file resource has been closed unexpectedly.
 
const CANT_OPEN_FILE = 0x0105
 An error was encountered while attempting to open the file.
 
const CANT_GET_FILE_POSITION = 0x0106
 An error was encountered while attempting to obtain the current file position.
 
const CANT_SET_FILE_POSITION = 0x0107
 An error was encountered while attempting to set a new file position.
 
const MOVE_BEFORE_START_OF_FILE = 0x0108
 An attempt was made to move the current file position before the start of the file.
 
const MOVE_BEYOND_END_OF_FILE = 0x0109
 An attempt was made to move the current file position beyond the end of the file.
 
const CANT_GET_FILE_SIZE = 0x010a
 An error was encountered while attempting to obtain the file size.
 
const ERROR_DURING_READ = 0x010b
 An error was encountered while attempting to read data from the file.
 
const ERROR_DURING_WRITE = 0x010c
 An error was encountered while attempting to write data to the file.
 
const INVALID_PAGE_SIZE = 0x010d
 An incompatible page size was specified for a buffered read operation.
 
const INSUFFICIENT_DATA = 0x010e
 There is insufficient data to fulfill the read request.
 
const BAD_DATA_SOURCE = 0x0201
 The file parser data source object was invalid or improperly initialized.
 
const INVALID_BYTE_ORDER = 0x0202
 An unknown byte order was specified.
 
const INVALID_INTEGER_SIZE = 0x0203
 An invalid integer size was specified.
 
const BAD_FIXED_POINT_SIZE = 0x0204
 An invalid fixed-point number size was specified.
 
const CANT_READ_STRING = 0x0205
 The string cannot be read.
 
const PARSED_OUT_OF_ORDER = 0x0206
 This file type must be parsed in a specific order and a parsing method was called out-of-turn.
 
const WRONG_FONT_TYPE = 0x0301
 The font file type is incorrect.
 
const BAD_TABLE_COUNT = 0x0302
 The number of tables contained in the font is outside the expected range.
 
const REQUIRED_TABLE_NOT_FOUND = 0x0303
 A required table was not present in the font.
 
const DONT_UNDERSTAND_TABLE_VERSION = 0x0303
 The parser does not understand this version of this table in the font.
 
const BAD_MAGIC_NUMBER = 0x0304
 The magic number in the font file is incorrect.
 
const CANT_FIND_GOOD_CMAP = 0x0305
 Could not locate a usable character map for this font.
 
const CMAP_TYPE_UNSUPPORTED = 0x0401
 The character map type is currently unsupported.
 
const CMAP_UNKNOWN_TYPE = 0x0402
 The type of the character map is not understood.
 
const CMAP_TABLE_DATA_TOO_SMALL = 0x0403
 The character map table data is too small.
 
const CMAP_WRONG_TABLE_TYPE = 0x0404
 The character map table data is for a different type of table.
 
const CMAP_WRONG_TABLE_LENGTH = 0x0405
 The character map table data contains in incorrect length.
 
const CMAP_NOT_LANGUAGE_INDEPENDENT = 0x0406
 This character map table is language-dependent.
 
const CMAP_FINAL_OFFSET_NOT_LENGTH = 0x0407
 The final byte offset when reading the character map table data does not match the reported length of the table.
 
const CMAP_WRONG_ENTRY_COUNT = 0x0408
 The character map subtable entry count does not match the expected value.
 
const GLYPH_OUT_OF_RANGE = 0x0501
 The specified glyph number is out of range for this font.
 
const FONT_CANT_BE_EMBEDDED = 0x0502
 This font program has copyright bits set which prevent it from being embedded in the PDF file.
 
const BAD_FONT_NAME = 0x0601
 The font name did not match any previously instantiated font and is not one of the standard 14 PDF fonts.
 
const CANT_DETERMINE_FONT_TYPE = 0x0602
 The factory method could not determine the type of the font file.
 
const BAD_ATTRIBUTE_VALUE = 0x0701
 The specified attribute value for the text object cannot be used.
 
const CANT_DETERMINE_IMAGE_TYPE = 0x0801
 
const WRONG_IMAGE_TYPE = 0x0802
 
const UNSUPPORTED_IMAGE_ENCODING_OPTIONS = 0x0803
 
const IMAGE_FILE_CORRUPT = 0x0804
 

Additional Inherited Members

- Public Member Functions inherited from Zend_Exception
 __construct ($msg= '', $code=0, Exception $previous=null)
 Construct the exception.
 
 __call ($method, array $args)
 Overloading.
 
 __toString ()
 String representation of the exception.
 
- Protected Member Functions inherited from Zend_Exception
 _getPrevious ()
 Returns previous Exception.
 

Member Data Documentation

const BAD_ATTRIBUTE_VALUE = 0x0701

The specified attribute value for the text object cannot be used.

const BAD_DATA_SOURCE = 0x0201

The file parser data source object was invalid or improperly initialized.

const BAD_FILE_PATH = 0x0101

The file path was unusable or invalid.

const BAD_FIXED_POINT_SIZE = 0x0204

An invalid fixed-point number size was specified.

const BAD_FONT_NAME = 0x0601

The font name did not match any previously instantiated font and is not one of the standard 14 PDF fonts.

const BAD_MAGIC_NUMBER = 0x0304

The magic number in the font file is incorrect.

const BAD_METHOD_SIGNATURE = 0x0007

The method that has multiple signatures could not understand the number and/or types of parameters.

const BAD_PARAMETER_TYPE = 0x0004

A parameter was of the wrong data type.

const BAD_PARAMETER_VALUE = 0x0005

A parameter contained an unusable value.

const BAD_TABLE_COUNT = 0x0302

The number of tables contained in the font is outside the expected range.

const CANT_DETERMINE_FONT_TYPE = 0x0602

The factory method could not determine the type of the font file.

const CANT_DETERMINE_IMAGE_TYPE = 0x0801
const CANT_FIND_GOOD_CMAP = 0x0305

Could not locate a usable character map for this font.

const CANT_GET_FILE_POSITION = 0x0106

An error was encountered while attempting to obtain the current file position.

const CANT_GET_FILE_SIZE = 0x010a

An error was encountered while attempting to obtain the file size.

const CANT_OPEN_FILE = 0x0105

An error was encountered while attempting to open the file.

const CANT_READ_STRING = 0x0205

The string cannot be read.

const CANT_SET_FILE_POSITION = 0x0107

An error was encountered while attempting to set a new file position.

const CMAP_FINAL_OFFSET_NOT_LENGTH = 0x0407

The final byte offset when reading the character map table data does not match the reported length of the table.

const CMAP_NOT_LANGUAGE_INDEPENDENT = 0x0406

This character map table is language-dependent.

Character maps must be language-independent.

const CMAP_TABLE_DATA_TOO_SMALL = 0x0403

The character map table data is too small.

const CMAP_TYPE_UNSUPPORTED = 0x0401

The character map type is currently unsupported.

const CMAP_UNKNOWN_TYPE = 0x0402

The type of the character map is not understood.

const CMAP_WRONG_ENTRY_COUNT = 0x0408

The character map subtable entry count does not match the expected value.

const CMAP_WRONG_TABLE_LENGTH = 0x0405

The character map table data contains in incorrect length.

const CMAP_WRONG_TABLE_TYPE = 0x0404

The character map table data is for a different type of table.

const DEPRECATED = 0x0002

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.

const DONT_UNDERSTAND_TABLE_VERSION = 0x0303

The parser does not understand this version of this table in the font.

const ERROR_DURING_READ = 0x010b

An error was encountered while attempting to read data from the file.

const ERROR_DURING_WRITE = 0x010c

An error was encountered while attempting to write data to the file.

const FILE_NOT_OPEN = 0x0104

The file resource has been closed unexpectedly.

const FONT_CANT_BE_EMBEDDED = 0x0502

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.

const GLYPH_OUT_OF_RANGE = 0x0501

The specified glyph number is out of range for this font.

const IMAGE_FILE_CORRUPT = 0x0804
const INDEX_OUT_OF_RANGE = 0x0008

An array or string index was out of range.

const INSUFFICIENT_DATA = 0x010e

There is insufficient data to fulfill the read request.

const INVALID_BYTE_ORDER = 0x0202

An unknown byte order was specified.

const INVALID_INTEGER_SIZE = 0x0203

An invalid integer size was specified.

const INVALID_PAGE_SIZE = 0x010d

An incompatible page size was specified for a buffered read operation.

const MOVE_BEFORE_START_OF_FILE = 0x0108

An attempt was made to move the current file position before the start of the file.

const MOVE_BEYOND_END_OF_FILE = 0x0109

An attempt was made to move the current file position beyond the end of the file.

const NOT_IMPLEMENTED = 0x0001

The feature or option is planned but has not yet been implemented.

It should be available in a future revision of the framework.

const NOT_READABLE = 0x0102

The file is not readable by the current user.

const NOT_WRITEABLE = 0x0103

The file is not writeable by the current user.

const PARAMETER_VALUE_OUT_OF_RANGE = 0x0006

A parameter value was not within the expected range.

const PARSED_OUT_OF_ORDER = 0x0206

This file type must be parsed in a specific order and a parsing method was called out-of-turn.

const REQUIRED_TABLE_NOT_FOUND = 0x0303

A required table was not present in the font.

const TOO_FEW_PARAMETERS = 0x0003

Not enough paramaters were supplied to the method.

const UNSUPPORTED_IMAGE_ENCODING_OPTIONS = 0x0803
const WRONG_FONT_TYPE = 0x0301

The font file type is incorrect.

const WRONG_IMAGE_TYPE = 0x0802