<s> """<STR_LIT>""" <EOL> import random <EOL> from . . aid . sixing import * <EOL> class ParameterError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None , name = None , value = None ) : <EOL> self . message = message <EOL> self . name = name <EOL> self . value = value <EOL> self . args = ( message , name , value ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" % ( self . message , self . name , str ( type ( self . value ) ) , repr ( self . value ) ) ) <EOL> class ParseError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None , tokens = None , index = None ) : <EOL> self . message = message <EOL> self . tokens = tokens <EOL> self . index = index <EOL> self . args = ( message , tokens , index ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" % ( self . message , repr ( self . tokens ) , self . index ) ) <EOL> class ParseWarning ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None , tokens = None , index = None ) : <EOL> self . message = message <EOL> self . tokens = tokens <EOL> self . index = index <EOL> self . args = ( message , tokens , index ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" % ( self . message , repr ( self . tokens ) , self . index ) ) <EOL> class ResolveError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None , name = None , value = None , human = '<STR_LIT>' , count = None ) : <EOL> self . message = message <EOL> self . name = name <EOL> self . value = value <EOL> self . human = human <EOL> self . count = count <EOL> self . args = ( message , name , value , human , count ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" % ( self . message , self . name , repr ( self . value ) , self . count , self . human , ) ) <EOL> class CloneError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None ) : <EOL> self . message = message <EOL> self . args = ( message ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" % ( self . message , ) ) <EOL> class RegisterError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None ) : <EOL> self . message = message <EOL> self . args = ( message ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" . format ( self . __class__ . __name__ , self . message ) ) <EOL> class TimerRetroError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None ) : <EOL> self . message = message <EOL> self . args = ( message ) <EOL> def __str__ ( self ) : <EOL> return ( "<STR_LIT>" . format ( self . __class__ . __name__ , self . message ) ) <EOL> def Test ( ) : <EOL> """<STR_LIT>""" <EOL> raise ParameterError ( "<STR_LIT>" , '<STR_LIT>' , <NUM_LIT:1> ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> Test ( ) </s>
