#NEWLINE# def __init__( self , description , locator = '' , code = 400 ) : #NEWLINE# #INDENT# self . code = locator #NEWLINE# self . description = description #NEWLINE# self . locator = locator #NEWLINE# msg = ( 'Exception: code: %s, locator: %s, description: %s' % ( self . code , self . description , self . locator ) ) #NEWLINE# LOGGER . exception ( msg ) #NEWLINE# HTTPException . __init__ ( self )