<s> """<STR_LIT>""" <EOL> class CommunicationTimeout ( Exception ) : <EOL> def __init__ ( self , message , buf ) : <EOL> super ( CommunicationTimeout , self ) . __init__ ( message ) <EOL> self . buf = buf <EOL> class BadResponseException ( Exception ) : <EOL> def __init__ ( self , message , expected , actual ) : <EOL> message = message + '<STR_LIT>' % ( expected , actual ) <EOL> super ( BadResponseException , self ) . __init__ ( message ) <EOL> self . expected = expected <EOL> self . actual = actual <EOL> class NoAckException ( Exception ) : <EOL> pass <EOL> class DeviceNotFoundException ( Exception ) : <EOL> pass <EOL> class VerificationError ( Exception ) : <EOL> pass </s>
