java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fusionauth.http.HTTPProcessingException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContentTooLargeException,RequestHeadersTooLargeException,UnprocessableContentException
A base HTTP processing exception that is able to suggest a status code to return the client.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHTTPProcessingException(int status, String statusMessage) protectedHTTPProcessingException(int status, String statusMessage, String detailedMessage) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
status
protected final int status -
statusMessage
-
-
Constructor Details
-
HTTPProcessingException
-
HTTPProcessingException
-
-
Method Details
-
getStatus
public int getStatus() -
getStatusMessage
-