<s> import sys <EOL> if sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:2> : <EOL> exec ( """<STR_LIT>""" ) <EOL> else : <EOL> def raise_with_tb ( info = None ) : <EOL> info = info or sys . exc_info ( ) <EOL> raise info [ <NUM_LIT:1> ] . with_traceback ( info [ <NUM_LIT:2> ] ) <EOL> class MaestroException ( Exception ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class DependencyException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class ParameterException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class EnvironmentConfigurationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class OrchestrationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class ContainerOrchestrationException ( OrchestrationException ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , container , message , * args ) : <EOL> self . container = container <EOL> self . message = message <EOL> super ( OrchestrationException , self ) . __init__ ( message , args ) <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' . format ( self . container . name , self . message ) <EOL> class InvalidPortSpecException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class InvalidLifecycleCheckConfigurationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class InvalidRestartPolicyConfigurationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class InvalidVolumeConfigurationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> class InvalidAuditorConfigurationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> class InvalidLogConfigurationException ( MaestroException ) : <EOL> """<STR_LIT>""" <EOL> pass </s>
