예제 #1
0
 def __init__(self, code):
     UserException.__init__(self, self.MESSAGES[code])
     self.code = code
예제 #2
0
 def __init__(self, fault_code, internal_message=None):
     UserException.__init__(self)
     self.fault_code = fault_code
     self._internal_message = internal_message
예제 #3
0
 def __init__(self, fault_code, internal_message=None):
     UserException.__init__(self)
     self.fault_code = fault_code
     self._internal_message = internal_message
예제 #4
0
 def __init__(self, code):
     UserException.__init__(self, self.MESSAGES[code])
     self.code = code