| Server IP : 51.79.230.26 / Your IP : 216.73.217.128 Web Server : LiteSpeed System : Linux sg2.exonhost.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : mukutpub ( 1151) PHP Version : 8.2.33 Disable Function : eval, show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python311/lib64/python3.11/xml/sax/__pycache__/ |
Upload File : |
�
�+.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__"