#NEWLINE# def __init__( self , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . message = ( self . msg_fmt % kwargs ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# exc_info = sys . exc_info ( ) #NEWLINE# log . exception ( ( _ ( 'Exception in string format operation: %s' ) % exc_info [ 1 ] ) ) #NEWLINE# if TOSCAException . _FATAL_EXCEPTION_FORMAT_ERRORS : #NEWLINE# #INDENT# raise exc_info [ 0 ]