/opt/alt/python311/lib64/python3.11/xml/sax/__pycache__
Edit: /opt/alt/python311/lib64/python3.11/xml/sax/__pycache__/_exceptions.cpython-311.opt-1.pyc (6843B)
§
°+.Cf(Áã óÒ — d Z ddlZej dd… dk rddlmZ [ G d„ de¦ « Z G d„ d e¦ « Z G d
„ de¦ « Z G d„ d
e¦ « Z G d„ de¦ « Z dS )z!Different kinds of SAX Exceptionsé Né Újava)Ú Exceptionc ó2 — e Zd ZdZdd„Zd„ Zd„ Zd„ Zd„ ZdS ) Ú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 óL — || _ || _ t j | |¦ « dS )zUCreates an exception. The message is required, but the exception
is optional.N)Ú_msgÚ
_exceptionr Ú__init__)ÚselfÚmsgÚ exceptions ú:/opt/alt/python311/lib64/python3.11/xml/sax/_exceptions.pyr zSAXException.__init__ s+ € 𠈌 Ø#ˆŒÝÔ˜4 Ñ%Ô%Ð%Ð%Ð%ó c ó — | j S )z$Return a message for this exception.©r ©r s r Ú
getMessagezSAXException.getMessage ó
€ àŒyÐr c ó — | j S )z9Return the embedded exception, or None if there was none.)r
r s r ÚgetExceptionzSAXException.getException s
€ àŒÐr c ó — | j S )ú0Create a string representation of the exception.r r s r Ú__str__zSAXException.__str__" r r c ó — t d¦ « ‚)zvAvoids weird error messages if someone does exception[ix] by
mistake, since Exception has __getitem__ defined.Ú__getitem__)ÚAttributeError)r Úixs r r zSAXException.__getitem__&