org.surfnet.oaaas.model
Class ErrorResponse

java.lang.Object
  extended by org.surfnet.oaaas.model.ErrorResponse

public class ErrorResponse
extends Object

Representation an error response conform spec


Constructor Summary
ErrorResponse()
           
ErrorResponse(String error, String errorDescription)
           
 
Method Summary
 String getError()
           
 String getErrorDescription()
           
 void setError(String error)
           
 void setErrorDescription(String errorDescription)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorResponse

public ErrorResponse()

ErrorResponse

public ErrorResponse(String error,
                     String errorDescription)
Method Detail

getError

public String getError()
Returns:
the error

setError

public void setError(String error)
Parameters:
error - the error to set

getErrorDescription

public String getErrorDescription()
Returns:
the errorDescription

setErrorDescription

public void setErrorDescription(String errorDescription)
Parameters:
errorDescription - the errorDescription to set


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.