/usr/lib/python2.6/xml/sax
NameSizeModeActions
expatreader.py145080644editdlrm
expatreader.pyc143290644editdlrm
expatreader.pyo143290644editdlrm
handler.py139680644editdlrm
handler.pyc130250644editdlrm
handler.pyo130250644editdlrm
saxutils.py94490644editdlrm
saxutils.pyc132220644editdlrm
saxutils.pyo132220644editdlrm
xmlreader.py126380644editdlrm
xmlreader.pyc191120644editdlrm
xmlreader.pyo191120644editdlrm
_exceptions.py47850644editdlrm
_exceptions.pyc61430644editdlrm
_exceptions.pyo61430644editdlrm
__init__.py35870644editdlrm
__init__.pyc37230644editdlrm
__init__.pyo37230644editdlrm
Edit: /usr/lib/python2.6/xml/sax/_exceptions.pyo (6143B)
Ñò «gc@s¯dZddkZeid djoddklZn[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 throw the exception; instead, you can simply read the information in it.cCs&||_||_ti||ƒdS(sUCreates an exception. The message is required, but the exception is optional.N(t_msgt _exceptionRt__init__(tselftmsgt exception((s)/usr/lib/python2.6/xml/sax/_exceptions.pyRs  cCs|iS(s$Return a message for this exception.(R(R((s)/usr/lib/python2.6/xml/sax/_exceptions.pyt getMessagescCs|iS(s9Return the embedded exception, or None if there was none.(R(R((s)/usr/lib/python2.6/xml/sax/_exceptions.pyt getExceptionscCs|iS(s0Create a string representation of the exception.(R(R((s)/usr/lib/python2.6/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((s)/usr/lib/python2.6/xml/sax/_exceptions.pyR &sN( t__name__t __module__t__doc__tNoneRR R R R (((s)/usr/lib/python2.6/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 throw 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.cCsVti|||ƒ||_|iiƒ|_|iiƒ|_|iiƒ|_dS(sECreates the exception. The exception parameter is allowed to be None.N( RRt_locatort getSystemIdt _systemIdtgetColumnNumbert_colnumt getLineNumbert_linenum(RRRtlocator((s)/usr/lib/python2.6/xml/sax/_exceptions.pyR;s  cCs|iS(sNThe column number of the end of the text where the exception occurred.(R(R((s)/usr/lib/python2.6/xml/sax/_exceptions.pyRHscCs|iS(sDThe line number of the end of the text where the exception occurred.(R(R((s)/usr/lib/python2.6/xml/sax/_exceptions.pyRMscCs |iiƒS(sEGet the public identifier of the entity where the exception occurred.(Rt getPublicId(R((s)/usr/lib/python2.6/xml/sax/_exceptions.pyRQscCs|iS(sEGet the system identifier of the entity where the exception occurred.(R(R((s)/usr/lib/python2.6/xml/sax/_exceptions.pyRUscCs€|iƒ}|djo d}n|iƒ}|djo d}n|iƒ}|djo d}nd||||ifS(s0Create a string representation of the exception.s t?s %s:%s:%s: %sN(RRRRR(Rtsysidtlinenumtcolnum((s)/usr/lib/python2.6/xml/sax/_exceptions.pyR Ys         ( RRRRRRRRR (((s)/usr/lib/python2.6/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(((s)/usr/lib/python2.6/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(((s)/usr/lib/python2.6/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(((s)/usr/lib/python2.6/xml/sax/_exceptions.pyR#}s( Rtsystplatformt java.langRRRR!R"R#(((s)/usr/lib/python2.6/xml/sax/_exceptions.pyts %;