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