java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.http.base.HttpException
io.inverno.mod.http.base.InternalServerErrorException
- All Implemented Interfaces:
Serializable
A HTTP exception that indicates an Internal Server Error (500)
accessing a server resource.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an internal server error exception.InternalServerErrorException
(String message) Creates an internal server error exception with the specified message.InternalServerErrorException
(String message, Throwable cause) Creates an internal server error exception with the specified message and cause.Creates an internal server error exception with the specified cause. -
Method Summary
Methods inherited from class io.inverno.mod.http.base.HttpException
getStatus, getStatusCategory, getStatusCode, getStatusReasonPhrase, wrap
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalServerErrorException
public InternalServerErrorException()Creates an internal server error exception.
-
InternalServerErrorException
Creates an internal server error exception with the specified message.
- Parameters:
message
- a message
-
InternalServerErrorException
Creates an internal server error exception with the specified cause.
- Parameters:
cause
- a cause
-
InternalServerErrorException
Creates an internal server error exception with the specified message and cause.
- Parameters:
message
- a messagecause
- a cause
-