Class InternalServerErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.avaje.jex.http.HttpResponseException
io.avaje.jex.http.InternalServerErrorException
- All Implemented Interfaces:
Serializable
Thrown when server has an internal error
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalServerErrorException(Object jsonResponse) Create with a status and response that will sent as JSON.InternalServerErrorException(String message) Create with a message. -
Method Summary
Methods inherited from class HttpResponseException
jsonResponse, statusMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalServerErrorException
Create with a message. -
InternalServerErrorException
Create with a status and response that will sent as JSON.
-