@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class GenericHTTPException extends java.lang.Exception
Modifier | Constructor and Description |
---|---|
protected |
GenericHTTPException() |
|
GenericHTTPException(java.lang.String message,
RESTAPIConstants.StatusCode statusCode) |
|
GenericHTTPException(java.lang.String message,
RESTAPIConstants.StatusCode statusCode,
java.lang.Throwable cause) |
|
GenericHTTPException(java.lang.String message,
java.lang.String webStatusMessage,
RESTAPIConstants.StatusCode statusCode) |
|
GenericHTTPException(java.lang.String message,
java.lang.String webStatusMessage,
RESTAPIConstants.StatusCode statusCode,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
RESTAPIConstants.StatusCode |
getStatusCode() |
java.lang.String |
getWebStatusMessage() |
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, java.lang.String webStatusMessage, RESTAPIConstants.StatusCode statusCode)
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, RESTAPIConstants.StatusCode statusCode)
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, java.lang.String webStatusMessage, RESTAPIConstants.StatusCode statusCode, java.lang.Throwable cause)
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, RESTAPIConstants.StatusCode statusCode, java.lang.Throwable cause)
protected GenericHTTPException()
@ThingworxExtensionApiMethod(since={6,6}) public RESTAPIConstants.StatusCode getStatusCode()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getWebStatusMessage()