Package com.thingworx.common.exceptions
Class GenericHTTPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.thingworx.common.exceptions.GenericHTTPException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidRequestException
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public class GenericHTTPException
extends Exception
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
GenericHTTPException
(String message, RESTAPIConstants.StatusCode statusCode) GenericHTTPException
(String message, RESTAPIConstants.StatusCode statusCode, Throwable cause) GenericHTTPException
(String message, String webStatusMessage, RESTAPIConstants.StatusCode statusCode) GenericHTTPException
(String message, String webStatusMessage, RESTAPIConstants.StatusCode statusCode, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(String message, String webStatusMessage, RESTAPIConstants.StatusCode statusCode) -
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(String message, RESTAPIConstants.StatusCode statusCode) -
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(String message, String webStatusMessage, RESTAPIConstants.StatusCode statusCode, Throwable cause) -
GenericHTTPException
@ThingworxExtensionApiMethod(since={6,6}) public GenericHTTPException(String message, RESTAPIConstants.StatusCode statusCode, Throwable cause) -
GenericHTTPException
protected GenericHTTPException()
-
-
Method Details
-
getStatusCode
-
getWebStatusMessage
-