%PDF- %PDF-
| Direktori : /snap/core26/750/usr/lib/python3.14/xml/sax/__pycache__/ |
| Current File : //snap/core26/750/usr/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc |
+
4��j[ � �x � R t ! R R]4 t ! R R]4 t ! R R]4 t ! R R]4 t ! R R
]4 tR# )z!Different kinds of SAX Exceptionsc �F a � ] tR t^t o RtR R ltR tR tR tR t Rt
V tR# )
�SAXExceptiona� 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 raise
the exception; instead, you can simply read the information in
it.Nc �H � Wn W n \ P W4 R# )zMCreates an exception. The message is required, but the exception
is optional.N)�_msg�
_exception� Exception�__init__)�self�msg� exceptions &&&�&/lib/python3.14/xml/sax/_exceptions.pyr �SAXException.__init__ s � � � �#�����4�%� c � � V P # )z$Return a message for this exception.�r �r s &r �
getMessage�SAXException.getMessage � � ��y�y�r c � � V P # )z9Return the embedded exception, or None if there was none.)r r s &r �getException�SAXException.getException s � ����r c � � V P # )�0Create a string representation of the exception.r r s &r �__str__�SAXException.__str__ r r c � � \ R4 h)znAvoids weird error messages if someone does exception[ix] by
mistake, since Exception has __getitem__ defined.�__getitem__)�AttributeError)r �ixs &&r r �SAXException.__getitem__"