Class RestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.core.runtime.CoreException
org.eclipse.ecf.core.util.ECFException
org.eclipse.ecf.remoteservice.rest.RestException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionRestException
(int errorCode) RestException
(String message) RestException
(String message, int errorCode) RestException
(String message, Throwable cause) RestException
(String message, Throwable cause, int errorCode) RestException
(String message, Throwable cause, int errorCode, byte[] response) RestException
(Throwable cause) RestException
(Throwable cause, int errorCode) RestException
(org.eclipse.core.runtime.IStatus status) -
Method Summary
Methods inherited from class org.eclipse.core.runtime.CoreException
getCause, getStatus, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
RestException
public RestException(org.eclipse.core.runtime.IStatus status) -
RestException
public RestException() -
RestException
public RestException(int errorCode) -
RestException
-
RestException
-
RestException
-
RestException
-
RestException
-
RestException
-
RestException
-
-
Method Details
-
getErrorCode
public int getErrorCode() -
getResponseBody
public byte[] getResponseBody()
-