Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.10/xml/sax/__pycache__/ |
Upload File : |
o }�5h� � @ s� d Z ddlZejdd� dkrddlmZ [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� �java)� 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.10/xml/sax/_exceptions.pyr s zSAXException.__init__c C � | j S )z$Return a message for this exception.�r �r r r r � getMessage � zSAXException.getMessagec C r )z9Return the embedded exception, or None if there was none.)r r r r r �getException r zSAXException.getExceptionc C r )�0Create a string representation of the exception.r r r r r �__str__"