Pdf/Exception.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Subpackage
Core  
Version
$Id$  

\Zend_Pdf_Exception

Package: Zend_Pdf\Core
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.
Parent(s)
\Zend_Exception < \Exception
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  NOT_IMPLEMENTED = 1
The feature or option is planned but has not yet been implemented. It should be available in a future revision of the framework.
>VConstant  DEPRECATED = 2
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.
>VConstant  TOO_FEW_PARAMETERS = 3
Not enough paramaters were supplied to the method.
>VConstant  BAD_PARAMETER_TYPE = 4
A parameter was of the wrong data type.
>VConstant  BAD_PARAMETER_VALUE = 5
A parameter contained an unusable value.
>VConstant  PARAMETER_VALUE_OUT_OF_RANGE = 6
A parameter value was not within the expected range.
>VConstant  BAD_METHOD_SIGNATURE = 7
The method that has multiple signatures could not understand the number and/or types of parameters.
>VConstant  INDEX_OUT_OF_RANGE = 8
An array or string index was out of range.
>VConstant  BAD_FILE_PATH = 257
The file path was unusable or invalid.
>VConstant  NOT_READABLE = 258
The file is not readable by the current user.
>VConstant  NOT_WRITEABLE = 259
The file is not writeable by the current user.
>VConstant  FILE_NOT_OPEN = 260
The file resource has been closed unexpectedly.
>VConstant  CANT_OPEN_FILE = 261
An error was encountered while attempting to open the file.
>VConstant  CANT_GET_FILE_POSITION = 262
An error was encountered while attempting to obtain the current file position.
>VConstant  CANT_SET_FILE_POSITION = 263
An error was encountered while attempting to set a new file position.
>VConstant  MOVE_BEFORE_START_OF_FILE = 264
An attempt was made to move the current file position before the start of the file.
>VConstant  MOVE_BEYOND_END_OF_FILE = 265
An attempt was made to move the current file position beyond the end of the file.
>VConstant  CANT_GET_FILE_SIZE = 266
An error was encountered while attempting to obtain the file size.
>VConstant  ERROR_DURING_READ = 267
An error was encountered while attempting to read data from the file.
>VConstant  ERROR_DURING_WRITE = 268
An error was encountered while attempting to write data to the file.
>VConstant  INVALID_PAGE_SIZE = 269
An incompatible page size was specified for a buffered read operation.
>VConstant  INSUFFICIENT_DATA = 270
There is insufficient data to fulfill the read request.
>VConstant  BAD_DATA_SOURCE = 513
The file parser data source object was invalid or improperly initialized.
>VConstant  INVALID_BYTE_ORDER = 514
An unknown byte order was specified.
>VConstant  INVALID_INTEGER_SIZE = 515
An invalid integer size was specified.
>VConstant  BAD_FIXED_POINT_SIZE = 516
An invalid fixed-point number size was specified.
>VConstant  CANT_READ_STRING = 517
The string cannot be read.
>VConstant  PARSED_OUT_OF_ORDER = 518
This file type must be parsed in a specific order and a parsing method was called out-of-turn.
>VConstant  WRONG_FONT_TYPE = 769
The font file type is incorrect.
>VConstant  BAD_TABLE_COUNT = 770
The number of tables contained in the font is outside the expected range.
>VConstant  REQUIRED_TABLE_NOT_FOUND = 771
A required table was not present in the font.
>VConstant  DONT_UNDERSTAND_TABLE_VERSION = 771
The parser does not understand this version of this table in the font.
>VConstant  BAD_MAGIC_NUMBER = 772
The magic number in the font file is incorrect.
>VConstant  CANT_FIND_GOOD_CMAP = 773
Could not locate a usable character map for this font.
>VConstant  CMAP_TYPE_UNSUPPORTED = 1025
The character map type is currently unsupported.
>VConstant  CMAP_UNKNOWN_TYPE = 1026
The type of the character map is not understood.
>VConstant  CMAP_TABLE_DATA_TOO_SMALL = 1027
The character map table data is too small.
>VConstant  CMAP_WRONG_TABLE_TYPE = 1028
The character map table data is for a different type of table.
>VConstant  CMAP_WRONG_TABLE_LENGTH = 1029
The character map table data contains in incorrect length.
>VConstant  CMAP_NOT_LANGUAGE_INDEPENDENT = 1030
This character map table is language-dependent. Character maps must be language-independent.
>VConstant  CMAP_FINAL_OFFSET_NOT_LENGTH = 1031
The final byte offset when reading the character map table data does not match the reported length of the table.
>VConstant  CMAP_WRONG_ENTRY_COUNT = 1032
The character map subtable entry count does not match the expected value.
>VConstant  GLYPH_OUT_OF_RANGE = 1281
The specified glyph number is out of range for this font.
>VConstant  FONT_CANT_BE_EMBEDDED = 1282
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.
>VConstant  BAD_FONT_NAME = 1537
The font name did not match any previously instantiated font and is not one of the standard 14 PDF fonts.
>VConstant  CANT_DETERMINE_FONT_TYPE = 1538
The factory method could not determine the type of the font file.
>VConstant  BAD_ATTRIBUTE_VALUE = 1793
The specified attribute value for the text object cannot be used.
>VConstant  CANT_DETERMINE_IMAGE_TYPE = 2049
>VConstant  WRONG_IMAGE_TYPE = 2050
>VConstant  UNSUPPORTED_IMAGE_ENCODING_OPTIONS = 2051
>VConstant  IMAGE_FILE_CORRUPT = 2052
Documentation was generated by phpDocumentor 2.2.0 .