atg.rest.client
Class RestClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.rest.client.RestClientException
All Implemented Interfaces:
java.io.Serializable

public class RestClientException
extends java.lang.Exception

The client side exception class for Rest services.

See Also:
Exception, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RestClientException(java.lang.String pMessage)
          A constructor which takes a message, response object and error code.
RestClientException(java.lang.String pMessage, java.lang.Throwable pCause)
          A constructor which takes a source exception, response object and error code.
RestClientException(java.lang.Throwable pCause)
          A constructor which takes a source exception, response object and error code.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RestClientException

public RestClientException(java.lang.String pMessage)
A constructor which takes a message, response object and error code.

Parameters:
pMessage - an error message describing the REST exception.

RestClientException

public RestClientException(java.lang.Throwable pCause)
A constructor which takes a source exception, response object and error code.

Parameters:
pCause - the source exception

RestClientException

public RestClientException(java.lang.String pMessage,
                           java.lang.Throwable pCause)
A constructor which takes a source exception, response object and error code.

Parameters:
pMessage - an error message describing the REST exception.
pCause - the source exception