| Server IP : 159.253.20.91 / Your IP : 216.73.216.111 Web Server : nginx/1.20.2 System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 User : pr11_ru_usr ( 1041) PHP Version : 8.1.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/xml/sax/__pycache__/ |
Upload File : |
a
��;`� � @ s� d Z ddlZejdd� dkr*ddlmZ [G dd� de�ZG dd � d e�ZG d
d� de�ZG dd
� d
e�ZG dd� de�Z dS )z!Different kinds of SAX Exceptions� N� Zjava)� Exceptionc @ s: e Zd ZdZd
dd�Zdd� Zdd� Zd d
� Zdd� 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 C s || _ || _t�| |� dS )zUCreates an exception. The message is required, but the exception
is optional.N)�_msg�
_exceptionr �__init__)�self�msg� exception� r �)/usr/lib/python3.9/xml/sax/_exceptions.pyr s zSAXException.__init__c C s | j S )z$Return a message for this exception.�r �r r r r �
getMessage s zSAXException.getMessagec C s | j S )z9Return the embedded exception, or None if there was none.)r r r r r �getException s zSAXException.getExceptionc C s | j S )�0Create a string representation of the exception.r
r r r r �__str__"