The File_MARC_Exception class enables error-handling for the File_MARC package.
Located in /MARC/Exception.php (line 49)
PEAR_Exception | --File_MARC_Exception
Replaces placeholder tokens in an error message with actual values.
This method enables you to internationalize the messages for the File_MARC class by simply replacing the File_MARC_Exception::$messages array with translated values for the messages.
A subfield is defined, but has no data
A field does not end with the expected end-of-field character
The length in the MARC leader does not match the actual record length
An invalid mode for adding a field was specified
An invalid mode for adding a subfield was specified
An entry in the MARC directory runs past the end of the record
An entry in the MARC directory was not 12 bytes
An entry in the MARC directory specified an invalid field offset
An entry in the MARC directory specified an invalid tag
An entry in the MARC directory specified an invalid tag length
An invalid object was passed instead of a File_MARC_Field object
File could not be opened
A field has invalid indicators
A field has invalid indicators
An indicator other than 1 or 2 was requested
User passed an unknown SOURCE_ constant
An invalid object was passed instead of a File_MARC_Subfield object
Tag does not adhere to MARC standards
MARC record ended with an invalid terminator
The length field in the leader was less than five characters long
A five-digit length could not be found in the MARC leader
No directory was found for the MARC record
Documentation generated on Mon, 01 Jan 2007 23:44:41 -0500 by phpDocumentor 1.3.1