Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
_exceptions.cpython-314.pyc47 linesDownload Raw Back to __pycache__
1+
2��i[��x�Rt!RR]4t!RR]4t!RR]4t!RR]4t!R	R3]4tR#)z!Different kinds of SAX Exceptionsc�Fa�]tRt^toRtR	RltRtRtRtRt	Rt4VtR#)5�SAXExceptiona�Encapsulate an XML error or warning. This class can contain6basic error or warning information from either the XML parser or7the application: you can subclass it to provide additional8functionality, or to add localization. Note that although you will9receive a SAXException as the argument to the handlers in the10ErrorHandler interface, you are not actually required to raise11the exception; instead, you can simply read the information in12it.Nc�H�WnW n\PW4R#)zMCreates an exception. The message is required, but the exception13is optional.N)�_msg�14_exception�	Exception�__init__)�self�msg�	exceptions&&&�Lib\xml\sax\_exceptions.pyr�SAXException.__init__s���	�#�����4�%�c��VP#)z$Return a message for this exception.�r�r	s&r�15getMessage�SAXException.getMessage����y�y�rc��VP#)z9Return the embedded exception, or None if there was none.)rrs&r�getException�SAXException.getExceptions�����rc��VP#)�0Create a string representation of the exception.rrs&r�__str__�SAXException.__str__rrc��\R4h)znAvoids weird error messages if someone does exception[ix] by16mistake, since Exception has __getitem__ defined.�__getitem__)�AttributeError)r	�ixs&&rr�SAXException.__getitem__"s���]�+�+r)rr)N)�__name__�17__module__�__qualname__�__firstlineno__�__doc__rrrrr�__static_attributes__�__classdictcell__��
__classdict__s@rrrs(�����&����,�,rrc�Ha�]tRt^*toRtRtRtRtRtRt	Rt18RtVtR	#)19�SAXParseExceptionaEncapsulate an XML parse error or warning.20 21This exception will include information for locating the error in22the original XML document. Note that although the application will23receive a SAXParseException as the argument to the handlers in the24ErrorHandler interface, the application is not actually required25to raise the exception; instead, it can simply read the26information in it and take a different action.27 28Since this exception is a subclass of SAXException, it inherits29the ability to wrap another exception.c���\PWV4W0nVPP4VnVPP4VnVPP4VnR#)zECreates the exception. The exception parameter is allowed to be None.N)	rr�_locator�getSystemId�	_systemId�getColumnNumber�_colnum�
getLineNumber�_linenum)r	r30r�locators&&&&rr�SAXParseException.__init__7sU�����d��3��
����2�2�4����}�}�4�4�6����
�
�3�3�5��
rc��VP#)zFThe column number of the end of the text where the exception31occurred.)r1rs&rr0�!SAXParseException.getColumnNumberDs���|�|�rc��VP#)zDThe line number of the end of the text where the exception occurred.)r3rs&rr2�SAXParseException.getLineNumberIs���}�}�rc�6�VPP4#)zEGet the public identifier of the entity where the exception occurred.)r-�getPublicIdrs&rr;�SAXParseException.getPublicIdMs���}�}�(�(�*�*rc��VP#)zEGet the system identifier of the entity where the exception occurred.)r/rs&rr.�SAXParseException.getSystemIdQs���~�~�rc��VP4pVfRpVP4pVfRpVP4pVfRpV:RV:RV:RVP:2#)rz	<unknown>�?�:z: )r.r2r0r)r	�sysid�linenum�colnums&   rr�SAXParseException.__str__Us]��� � �"���=��E��$�$�&���?��G��%�%�'���>��F�!&������C�Cr)r1r3r-r/N)
r!r"r#r$r%rr0r2r;r.rr&r'r(s@rr+r+*s/����32.�6��33�+��D�Drr+c��]tRt^etRtRtR#)�SAXNotRecognizedExceptionz�Exception class for an unrecognized identifier.34 35An XMLReader will raise this exception when it is confronted with an36unrecognized feature or property. SAX applications and extensions may37use this class for similar purposes.�N�r!r"r#r$r%r&rHrrrGrGes��,rrGc��]tRt^otRtRtR#)�SAXNotSupportedExceptionz�Exception class for an unsupported operation.38 39An XMLReader will raise this exception when a service it cannot40perform is requested (specifically setting a state or value). SAX41applications and extensions may use this class for similar42purposes.rHNrIrHrrrKrKos��rrKc��]tRt^ytRtRtR#)�SAXReaderNotAvailableaException class for a missing driver.43 44An XMLReader module (driver) should raise this exception when it45is first imported, e.g. when a support module cannot be imported.46It also may be raised during parsing, e.g. if executing an external47program is not permitted.rHNrIrHrrrMrMys��!rrMN)r%rrr+rGrKrMrHrr�<module>rNsI��'� ,�9� ,�J6D��6D�v,��,��|��!�4�!r
codekingpro/portable-devtools · Team Ai