| Server IP : 43.141.50.122 / Your IP : 113.219.202.173 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/xml/sax/__pycache__/ |
Upload File : |
�
��e� � �� � 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 �,/usr/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__"