/opt/alt/python27/lib64/python2.7/xml/sax
NameSizeModeActions
expatreader.py158120644editdlrm
expatreader.pyc157190644editdlrm
expatreader.pyo157190644editdlrm
handler.py139210644editdlrm
handler.pyc133530644editdlrm
handler.pyo133530644editdlrm
saxutils.py115560644editdlrm
saxutils.pyc155030644editdlrm
saxutils.pyo155030644editdlrm
xmlreader.py126320644editdlrm
xmlreader.pyc201060644editdlrm
xmlreader.pyo201060644editdlrm
_exceptions.py47850644editdlrm
_exceptions.pyc63900644editdlrm
_exceptions.pyo63900644editdlrm
__init__.py36180644editdlrm
__init__.pyc38230644editdlrm
__init__.pyo38230644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyc (6390B)
ó ß[ bc@s­dZddlZejd dkr8ddlmZn[defd„ƒYZdefd „ƒYZd efd „ƒYZd efd „ƒYZdefd„ƒYZ dS(s!Different kinds of SAX ExceptionsiÿÿÿÿNitjava(t Exceptiont SAXExceptioncBs>eZdZdd„Zd„Zd„Zd„Zd„ZRS(sÖ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.cCs&||_||_tj||ƒdS(sUCreates an exception. The message is required, but the exception is optional.N(t_msgt _exceptionRt__init__(tselftmsgt exception((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyRs  cCs|jS(s$Return a message for this exception.(R(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyt getMessagescCs|jS(s9Return the embedded exception, or None if there was none.(R(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyt getExceptionscCs|jS(s0Create a string representation of the exception.(R(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyt__str__"scCstdƒ‚dS(svAvoids weird error messages if someone does exception[ix] by mistake, since Exception has __getitem__ defined.t __getitem__N(tAttributeError(Rtix((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR &sN( t__name__t __module__t__doc__tNoneRR R R R (((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR s     tSAXParseExceptioncBsDeZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(s#Encapsulate an XML parse error or warning. This exception will include information for locating the error in the original XML document. Note that although the application will receive a SAXParseException as the argument to the handlers in the ErrorHandler interface, the application is not actually required to raise the exception; instead, it can simply read the information in it and take a different action. Since this exception is a subclass of SAXException, it inherits the ability to wrap another exception.cCsVtj|||ƒ||_|jjƒ|_|jjƒ|_|jjƒ|_dS(sECreates the exception. The exception parameter is allowed to be None.N( RRt_locatort getSystemIdt _systemIdtgetColumnNumbert_colnumt getLineNumbert_linenum(RRRtlocator((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR;s  cCs|jS(sNThe column number of the end of the text where the exception occurred.(R(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyRHscCs|jS(sDThe line number of the end of the text where the exception occurred.(R(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyRMscCs |jjƒS(sEGet the public identifier of the entity where the exception occurred.(Rt getPublicId(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyRQscCs|jS(sEGet the system identifier of the entity where the exception occurred.(R(R((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyRUscCsz|jƒ}|dkr!d}n|jƒ}|dkrBd}n|jƒ}|dkrcd}nd||||jfS(s0Create a string representation of the exception.s t?s %s:%s:%s: %sN(RRRRR(Rtsysidtlinenumtcolnum((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR Ys         ( RRRRRRRRR (((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR.s     tSAXNotRecognizedExceptioncBseZdZRS(sìException class for an unrecognized identifier. An XMLReader will raise this exception when it is confronted with an unrecognized feature or property. SAX applications and extensions may use this class for similar purposes.(RRR(((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR!istSAXNotSupportedExceptioncBseZdZRS(sException class for an unsupported operation. An XMLReader will raise this exception when a service it cannot perform is requested (specifically setting a state or value). SAX applications and extensions may use this class for similar purposes.(RRR(((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR"sstSAXReaderNotAvailablecBseZdZRS(sException class for a missing driver. An XMLReader module (driver) should raise this exception when it is first imported, e.g. when a support module cannot be imported. It also may be raised during parsing, e.g. if executing an external program is not permitted.(RRR(((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyR#}s( Rtsystplatformt java.langRRRR!R"R#(((s8/opt/alt/python27/lib64/python2.7/xml/sax/_exceptions.pyts %;