관리-도구
편집 파일: _exceptions.cpython-312.pyc
� �Q�f[ � �v � d Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d � d e� Zy)z!Different kinds of SAX Exceptionsc �0 � e Zd ZdZdd�Zd� Zd� Zd� Zd� Zy) �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 | |� y)zUCreates an exception. The message is required, but the exception is optional.N)�_msg� _exception� Exception�__init__)�self�msg� exceptions �:/opt/alt/python312/lib64/python3.12/xml/sax/_exceptions.pyr zSAXException.__init__ s"