Your IP : 18.222.98.91


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

3


 \��@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||_||_tj||�dS)N)�_msg�
_exceptionr�__init__)�self�msg�	exception�r�+/usr/lib64/python3.6/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<tj|||�||_|jj�|_|jj�|_|jj�|_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
|jj�S)N)r�getPublicId)r	rrr
rQszSAXParseException.getPublicIdcCs|jS)N)r)r	rrr
rUszSAXParseException.getSystemIdcCsN|j�}|dkrd}|j�}|dkr(d}|j�}|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%;


?>