org.eclipse.ecf.remoteservice.rest
Class RestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.core.runtime.CoreException
              extended by org.eclipse.ecf.core.util.ECFException
                  extended by org.eclipse.ecf.remoteservice.rest.RestException
All Implemented Interfaces:
java.io.Serializable

public class RestException
extends ECFException

See Also:
Serialized Form

Constructor Summary
RestException()
           
RestException(int errorCode)
           
RestException(org.eclipse.core.runtime.IStatus status)
           
RestException(java.lang.String message)
           
RestException(java.lang.String message, int errorCode)
           
RestException(java.lang.String message, java.lang.Throwable cause)
           
RestException(java.lang.String message, java.lang.Throwable cause, int errorCode)
           
RestException(java.lang.String message, java.lang.Throwable cause, int errorCode, java.lang.String response)
           
RestException(java.lang.Throwable cause)
           
RestException(java.lang.Throwable cause, int errorCode)
           
 
Method Summary
 int getErrorCode()
           
 java.lang.String getResponseBody()
           
 
Methods inherited from class org.eclipse.core.runtime.CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestException

public RestException(org.eclipse.core.runtime.IStatus status)

RestException

public RestException()

RestException

public RestException(int errorCode)

RestException

public RestException(java.lang.String message)

RestException

public RestException(java.lang.String message,
                     int errorCode)

RestException

public RestException(java.lang.Throwable cause)

RestException

public RestException(java.lang.Throwable cause,
                     int errorCode)

RestException

public RestException(java.lang.String message,
                     java.lang.Throwable cause)

RestException

public RestException(java.lang.String message,
                     java.lang.Throwable cause,
                     int errorCode)

RestException

public RestException(java.lang.String message,
                     java.lang.Throwable cause,
                     int errorCode,
                     java.lang.String response)
Method Detail

getErrorCode

public int getErrorCode()

getResponseBody

public java.lang.String getResponseBody()