org.gsm.oneapi.responsebean
Class RequestErrorWrapper

java.lang.Object
  extended by org.gsm.oneapi.responsebean.RequestErrorWrapper
All Implemented Interfaces:
java.io.Serializable

public class RequestErrorWrapper
extends java.lang.Object
implements java.io.Serializable

RequestErrorWrapper is a utility class used internally in converting a RequestError to/from JSON

See Also:
Serialized Form

Constructor Summary
RequestErrorWrapper()
           
 
Method Summary
 RequestError getRequestError()
          return the error detail from a server error
 void setPolicyException(PolicyException policyException)
          set a PolicyException type error
 void setRequestError(RequestError requestError)
          set the error detail from a server error
 void setServiceException(ServiceException serviceException)
          set a ServiceException type error
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestErrorWrapper

public RequestErrorWrapper()
Method Detail

getRequestError

public RequestError getRequestError()
return the error detail from a server error


setRequestError

public void setRequestError(RequestError requestError)
set the error detail from a server error


setServiceException

public void setServiceException(ServiceException serviceException)
set a ServiceException type error


setPolicyException

public void setPolicyException(PolicyException policyException)
set a PolicyException type error