Class InternalServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.http.HttpException
io.helidon.http.InternalServerException
- All Implemented Interfaces:
Serializable
A runtime exception indicating a
internal server error.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalServerException(String message, Throwable cause) CreatesInternalServerException.InternalServerException(String message, Throwable cause, boolean keepAlive) CreatesInternalServerException. -
Method Summary
Methods inherited from class HttpException
header, headers, keepAlive, statusModifier and TypeMethodDescriptionSet a response header that should be used if this exception is not handled.headers()Headers as currently configured in this exception.booleanWhether we should attempt to keep the connection alive (if enabled for it).final Statusstatus()Obtain the associated http status.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalServerException
CreatesInternalServerException.- Parameters:
message- the messagecause- the cause of this exception
-
InternalServerException
CreatesInternalServerException.- Parameters:
message- the messagecause- the cause of this exceptionkeepAlive- whether to keep the connection alive (if keep alives are enabled)
-