<s> """<STR_LIT>""" <EOL> class SAXException ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , msg , exception = None ) : <EOL> """<STR_LIT>""" <EOL> self . _msg = msg <EOL> self . _exception = exception <EOL> Exception . __init__ ( self , msg ) <EOL> def getMessage ( self ) : <EOL> "<STR_LIT>" <EOL> return self . _msg <EOL> def getException ( self ) : <EOL> "<STR_LIT>" <EOL> return self . _exception <EOL> def __str__ ( self ) : <EOL> "<STR_LIT>" <EOL> return self . _msg <EOL> def __getitem__ ( self , ix ) : <EOL> """<STR_LIT>""" <EOL> raise AttributeError ( "<STR_LIT>" ) <EOL> class SAXParseException ( SAXException ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , msg , exception , locator ) : <EOL> "<STR_LIT>" <EOL> SAXException . __init__ ( self , msg , exception ) <EOL> self . _locator = locator <EOL> self . _systemId = self . _locator . getSystemId ( ) <EOL> self . _colnum = self . _locator . getColumnNumber ( ) <EOL> self . _linenum = self . _locator . getLineNumber ( ) <EOL> def getColumnNumber ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _colnum <EOL> def getLineNumber ( self ) : <EOL> "<STR_LIT>" <EOL> return self . _linenum <EOL> def getPublicId ( self ) : <EOL> "<STR_LIT>" <EOL> return self . _locator . getPublicId ( ) <EOL> def getSystemId ( self ) : <EOL> "<STR_LIT>" <EOL> return self . _systemId <EOL> def __str__ ( self ) : <EOL> "<STR_LIT>" <EOL> sysid = self . getSystemId ( ) <EOL> if sysid is None : <EOL> sysid = "<STR_LIT>" <EOL> linenum = self . getLineNumber ( ) <EOL> if linenum is None : <EOL> linenum = "<STR_LIT:?>" <EOL> colnum = self . getColumnNumber ( ) <EOL> if colnum is None : <EOL> colnum = "<STR_LIT:?>" <EOL> return "<STR_LIT>" % ( sysid , linenum , colnum , self . _msg ) <EOL> class SAXNotRecognizedException ( SAXException ) : <EOL> """<STR_LIT>""" <EOL> class SAXNotSupportedException ( SAXException ) : <EOL> """<STR_LIT>""" <EOL> class SAXReaderNotAvailable ( SAXNotSupportedException ) : <EOL> """<STR_LIT>""" </s>
