diff -r 1cece5192e26 -r 1edd01373e71 app/soc/logic/out_of_band.py --- a/app/soc/logic/out_of_band.py Thu Oct 09 18:11:37 2008 +0000 +++ b/app/soc/logic/out_of_band.py Thu Oct 09 23:38:27 2008 +0000 @@ -44,3 +44,22 @@ self.message = message self.response_args = response_args + +class AccessViolationResponse(OutOfBandResponse): + """"Out of band response when an access requirement was not met. + """ + + def __init__(self, response): + """Constructor used to set response message \. + + Args: + response: The response that should be returned to the user. + """ + + self._response = response + + def response(self): + """Returns the response that was set in the constructor. + """ + + return self._response