Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib64/python3.7/xml/sax/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/xml/sax/__pycache__/_exceptions.cpython-37.opt-2.pyc

B

YI~d��@s|ddlZejdd�dkr&ddlmZ[Gdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZdS)�N��java)�	Exceptionc@s6eZdZddd�Zdd�Zdd�Zdd	�Zd
d�ZdS)
�SAXExceptionNcCs||_||_t�||�dS)N)�_msg�
_exceptionr�__init__)�self�msg�	exception�r�8/opt/alt/python37/lib64/python3.7/xml/sax/_exceptions.pyrszSAXException.__init__cCs|jS)N)r)r	rrr
�
getMessageszSAXException.getMessagecCs|jS)N)r)r	rrr
�getExceptionszSAXException.getExceptioncCs|jS)N)r)r	rrr
�__str__"szSAXException.__str__cCstd��dS)N�__getitem__)�AttributeError)r	Zixrrr
r&szSAXException.__getitem__)N)�__name__�
__module__�__qualname__rrrrrrrrr
r	s


rc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�SAXParseExceptioncCs<t�|||�||_|j��|_|j��|_|j��|_dS)N)	rr�_locator�getSystemId�	_systemId�getColumnNumber�_colnum�
getLineNumber�_linenum)r	r
rZlocatorrrr
r;s
zSAXParseException.__init__cCs|jS)N)r)r	rrr
rHsz!SAXParseException.getColumnNumbercCs|jS)N)r)r	rrr
rMszSAXParseException.getLineNumbercCs
|j��S)N)r�getPublicId)r	rrr
rQszSAXParseException.getPublicIdcCs|jS)N)r)r	rrr
rUszSAXParseException.getSystemIdcCsN|��}|dkrd}|��}|dkr(d}|��}|dkr<d}d||||jfS)Nz	<unknown>�?z%s:%s:%s: %s)rrrr)r	ZsysidZlinenumZcolnumrrr
rYszSAXParseException.__str__N)	rrrrrrrrrrrrr
r.s

rc@seZdZdS)�SAXNotRecognizedExceptionN)rrrrrrr
r isr c@seZdZdS)�SAXNotSupportedExceptionN)rrrrrrr
r!ssr!c@seZdZdS)�SAXReaderNotAvailableN)rrrrrrr
r"}sr")	�sys�platformZ	java.langrrrr r!r"rrrr
�<module>s%;


Hacked By AnonymousFox1.0, Coded By AnonymousFox