AlkantarClanX12

Your IP : 3.133.157.231


Current Path : /lib64/python3.8/xml/sax/__pycache__/
Upload File :
Current File : //lib64/python3.8/xml/sax/__pycache__/_exceptions.cpython-38.opt-2.pyc

U

e5d��@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
�+/usr/lib64/python3.8/xml/sax/_exceptions.pyr	szSAXException.__init__cCs|jSr�r�r
r
r
r�
getMessageszSAXException.getMessagecCs|jSr)rrr
r
r�getExceptionszSAXException.getExceptioncCs|jSrrrr
r
r�__str__"szSAXException.__str__cCstd��dS)N�__getitem__)�AttributeError)r
Zixr
r
rr&szSAXException.__getitem__)N)�__name__�
__module__�__qualname__r	rrrrr
r
r
rr	s


rc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�SAXParseExceptioncCs<t�|||�||_|j��|_|j��|_|j��|_dSr)	rr	�_locator�getSystemId�	_systemId�getColumnNumber�_colnum�
getLineNumber�_linenum)r
rrZlocatorr
r
rr	;s
zSAXParseException.__init__cCs|jSr)rrr
r
rrHsz!SAXParseException.getColumnNumbercCs|jSr)r rr
r
rrMszSAXParseException.getLineNumbercCs
|j��Sr)r�getPublicIdrr
r
rr!QszSAXParseException.getPublicIdcCs|jSr)rrr
r
rrUszSAXParseException.getSystemIdcCsN|��}|dkrd}|��}|dkr(d}|��}|dkr<d}d||||jfS)Nz	<unknown>�?z%s:%s:%s: %s)rrrr)r
ZsysidZlinenumZcolnumr
r
rrYszSAXParseException.__str__N)	rrrr	rrr!rrr
r
r
rr.s

rc@seZdZdS)�SAXNotRecognizedExceptionN�rrrr
r
r
rr#isr#c@seZdZdS)�SAXNotSupportedExceptionNr$r
r
r
rr%ssr%c@seZdZdS)�SAXReaderNotAvailableNr$r
r
r
rr&}sr&)	�sys�platformZ	java.langrrrr#r%r&r
r
r
r�<module>s%;