def __init__(self, msg): """ __init__ Initialize the error, just accepts a message without error code """ WMException.__init__(self, msg) return
def __init__(self, message): WMException.__init__(self, message, 'WMCORE-13')
def __init__(self): WMException.__init__(self, 'McM responded correctly but has no data')
def __init__(self, code, name, detail): WMException.__init__(self, detail, code) self.code = code self.name = name self.detail = detail
def __init__(self, message, **data): WMException.__init__(self, message, **data) self.data.setdefault("ErrorCode", 60313) self.data.setdefault("ErrorType", self.__class__.__name__)
def __init__(self, message, **data): WMException.__init__(self, message, **data) self.data.setdefault("ErrorCode", 60311) self.data.setdefault("ErrorType", ErrorDefinitions[60311])
def __init__(self): WMException.__init__(self, "McM responded correctly but has no data")