def __init__(self, message, type):
    RuntimeError.__init__(self, message)
    self.message = message
    self.type = type
def __init__(self, message, type):
    RuntimeError.__init__(self, message)
    self.message = message
    self.type = type