Example #1
0
    def __init__(self, msg):
        """
        __init__

        Initialize the error, just accepts a message without error code
        """
        WMException.__init__(self, msg)
        return
Example #2
0
    def __init__(self, msg):
        """
        __init__

        Initialize the error, just accepts a message without error code
        """
        WMException.__init__(self, msg)
        return
Example #3
0
 def __init__(self, message):
     WMException.__init__(self, message, 'WMCORE-13')
Example #4
0
 def __init__(self):
     WMException.__init__(self, 'McM responded correctly but has no data')
Example #5
0
 def __init__(self, code, name, detail):
     WMException.__init__(self, detail, code)
     self.code = code
     self.name = name
     self.detail = detail
Example #6
0
 def __init__(self, message):
     WMException.__init__(self, message, 'WMCORE-13')
Example #7
0
 def __init__(self, message, **data):
     WMException.__init__(self, message, **data)
     self.data.setdefault("ErrorCode", 60313)
     self.data.setdefault("ErrorType", self.__class__.__name__)
Example #8
0
    def __init__(self, message, **data):
        WMException.__init__(self, message, **data)

        self.data.setdefault("ErrorCode", 60311)
        self.data.setdefault("ErrorType", ErrorDefinitions[60311])
Example #9
0
 def __init__(self):
     WMException.__init__(self, "McM responded correctly but has no data")
Example #10
0
    def __init__(self, message, **data):
        WMException.__init__(self, message, **data)

        self.data.setdefault("ErrorCode", 60311)
        self.data.setdefault("ErrorType", ErrorDefinitions[60311])
Example #11
0
 def __init__(self, code, name, detail):
     WMException.__init__(self, detail, code)
     self.code = code
     self.name = name
     self.detail = detail