Package com.thingworx.common.exceptions
Class GenericHTTPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.thingworx.common.exceptions.GenericHTTPException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InvalidRequestException
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class GenericHTTPException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RESTAPIConstants.StatusCode
getStatusCode()
java.lang.String
getWebStatusMessage()
-
-
-
Constructor Detail
-
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, java.lang.String webStatusMessage, RESTAPIConstants.StatusCode statusCode)
-
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, RESTAPIConstants.StatusCode statusCode)
-
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, java.lang.String webStatusMessage, RESTAPIConstants.StatusCode statusCode, java.lang.Throwable cause)
-
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(java.lang.String message, RESTAPIConstants.StatusCode statusCode, java.lang.Throwable cause)
-
GenericHTTPException
protected GenericHTTPException()
-
-
Method Detail
-
getStatusCode
@ThingworxExtensionApiMethod(since={6,6}) public RESTAPIConstants.StatusCode getStatusCode()
-
getWebStatusMessage
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getWebStatusMessage()
-
-