#NEWLINE# def __init__( self , desc = None ) : #NEWLINE# #INDENT# super ( BGPSException , self ) . __init__ ( ) #NEWLINE# if ( not desc ) : #NEWLINE# #INDENT# desc = desc . __class__ . DEF_DESC #NEWLINE# #UNINDENT# kls = self . __class__ #NEWLINE# self . message = ( '%d.%d - %s' % ( kls . CODE , kls . SUB_CODE , desc ) )