#NEWLINE# @ classmethod #NEWLINE# def get_dsl_class( cls , name ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return cls . _classes [ name ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise UnknownDslObject ( ( 'DSL class `%s` does not exist in %s.' % ( name , cls . _type_name ) ) )