Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
xml
/
sax
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/xml/sax/_exceptions.pyo
mò ‚=5Dc�����������@���s©���d��Z��d�k�Z�e�i�d� d�j�o�d�k�l�Z�n�[�d�e�f�d�„��ƒ��YZ�d�e�f�d�„��ƒ��YZ�d �e�f�d �„��ƒ��YZ�d�e�f�d�„��ƒ��YZ�d �e�f�d�„��ƒ��YZ �d�S(���s!���Different kinds of SAX ExceptionsNi���t���java(���s ���Exceptiont���SAXExceptionc�����������B���s>���t��Z�d��Z�e�d�„�Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�RS(���sÖ��Encapsulate an XML error or warning. This class can contain basic error or warning information from either the XML parser or the application: you can subclass it to provide additional functionality, or to add localization. Note that although you will receive a SAXException as the argument to the handlers in the ErrorHandler interface, you are not actually required to throw the exception; instead, you can simply read the information in it.c���������C���s&���|�|��_�|�|��_�t�i�|��|�ƒ�d�S(���sU���Creates an exception. The message is required, but the exception is optional.N(���t���msgt���selft���_msgt ���exceptiont ���_exceptiont ���Exceptiont���__init__(���R���R���R���(����(����t)���/usr/lib/python2.4/xml/sax/_exceptions.pyR������s����� c���������C���s���|��i�S(���s$���Return a message for this exception.N(���R���R���(���R���(����(����R ���t ���getMessage���s�����c���������C���s���|��i�S(���s9���Return the embedded exception, or None if there was none.N(���R���R���(���R���(����(����R ���t���getException���s�����c���������C���s���|��i�S(���s0���Create a string representation of the exception.N(���R���R���(���R���(����(����R ���t���__str__"���s�����c���������C���s���t��d�ƒ�‚�d�S(���sv���Avoids weird error messages if someone does exception[ix] by mistake, since Exception has __getitem__ defined.t���__getitem__N(���t���AttributeError(���R���t���ix(����(����R ���R ���&���s�����( ���t���__name__t ���__module__t���__doc__t���NoneR���R ���R���R���R ���(����(����(����R ���R��� ���s���� t���SAXParseExceptionc�����������B���sD���t��Z�d��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�RS(���s#��Encapsulate an XML parse error or warning. This exception will include information for locating the error in the original XML document. Note that although the application will receive a SAXParseException as the argument to the handlers in the ErrorHandler interface, the application is not actually required to throw the exception; instead, it can simply read the information in it and take a different action. Since this exception is a subclass of SAXException, it inherits the ability to wrap another exception.c���������C���sV���t��i�|��|�|�ƒ�|�|��_�|��i�i�ƒ��|��_�|��i�i �ƒ��|��_ �|��i�i�ƒ��|��_�d�S(���sE���Creates the exception. The exception parameter is allowed to be None.N( ���R���R���R���R���R���t���locatort���_locatort���getSystemIdt ���_systemIdt���getColumnNumbert���_colnumt ���getLineNumbert���_linenum(���R���R���R���R���(����(����R ���R���;���s����� c���������C���s���|��i�S(���sN���The column number of the end of the text where the exception occurred.N(���R���R���(���R���(����(����R ���R���H���s�����c���������C���s���|��i�S(���sD���The line number of the end of the text where the exception occurred.N(���R���R���(���R���(����(����R ���R���M���s�����c���������C���s ���|��i�i�ƒ��S(���sE���Get the public identifier of the entity where the exception occurred.N(���R���R���t���getPublicId(���R���(����(����R ���R���Q���s�����c���������C���s���|��i�S(���sE���Get the system identifier of the entity where the exception occurred.N(���R���R���(���R���(����(����R ���R���U���s�����c���������C���s€���|��i�ƒ��}�|�d�j�o �d�}�n�|��i�ƒ��}�|�d�j�o �d�}�n�|��i�ƒ��}�|�d�j�o �d�}�n�d�|�|�|�|��i�f�S(���s0���Create a string representation of the exception.s ���<unknown>t���?s���%s:%s:%s: %sN( ���R���R���t���sysidR���R���t���linenumR���t���colnumR���(���R���R!���R���R ���(����(����R ���R���Y���s����� ( ���R���R���R���R���R���R���R���R���R���(����(����(����R ���R���.���s���� t���SAXNotRecognizedExceptionc�����������B���s���t��Z�d��Z�RS(���sì���Exception class for an unrecognized identifier. An XMLReader will raise this exception when it is confronted with an unrecognized feature or property. SAX applications and extensions may use this class for similar purposes.(���R���R���R���(����(����(����R ���R"���i���s���t���SAXNotSupportedExceptionc�����������B���s���t��Z�d��Z�RS(���s��Exception class for an unsupported operation. An XMLReader will raise this exception when a service it cannot perform is requested (specifically setting a state or value). SAX applications and extensions may use this class for similar purposes.(���R���R���R���(����(����(����R ���R#���s���s���t���SAXReaderNotAvailablec�����������B���s���t��Z�d��Z�RS(���s��Exception class for a missing driver. An XMLReader module (driver) should raise this exception when it is first imported, e.g. when a support module cannot be imported. It also may be raised during parsing, e.g. if executing an external program is not permitted.(���R���R���R���(����(����(����R ���R$���}���s���( ���R���t���syst���platformt ���java.langR���R���R���R"���R#���R$���(���R���R"���R$���R%���R���R���R#���(����(����R ���R������s��� %;