<s> """<STR_LIT>""" <EOL> class Error ( Exception ) : <EOL> """<STR_LIT>""" <EOL> class ProtocolBufferParseError ( Error ) : <EOL> """<STR_LIT>""" <EOL> class EmptyConfigurationFile ( Error ) : <EOL> """<STR_LIT>""" <EOL> class MultipleConfigurationFile ( Error ) : <EOL> """<STR_LIT>""" <EOL> class UnexpectedAttribute ( Error ) : <EOL> """<STR_LIT>""" <EOL> class DuplicateAttribute ( Error ) : <EOL> """<STR_LIT>""" <EOL> class ListenerConfigurationError ( Error ) : <EOL> """<STR_LIT>""" <EOL> class IllegalEvent ( Error ) : <EOL> """<STR_LIT>""" <EOL> class InternalError ( Error ) : <EOL> """<STR_LIT>""" <EOL> class EventListenerError ( Error ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , cause ) : <EOL> """<STR_LIT>""" <EOL> if hasattr ( cause , '<STR_LIT:args>' ) and cause . args : <EOL> Error . __init__ ( self , * cause . args ) <EOL> else : <EOL> Error . __init__ ( self , str ( cause ) ) <EOL> self . cause = cause <EOL> class EventListenerYAMLError ( EventListenerError ) : <EOL> """<STR_LIT>""" <EOL> class EventError ( EventListenerError ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , cause , event ) : <EOL> """<STR_LIT>""" <EOL> EventListenerError . __init__ ( self , cause ) <EOL> self . event = event <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . cause , self . event . start_mark ) </s>
