'@param code: The HTTP response code to set in the response.
@type code: L{int}
@param result: The value to put into the field of the response
body as JSON.'

def __init__(self, code, result):

    Exception.__init__(self, code, result)
    self.code = code
    self.result = result
