Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.http.HttpException
io.helidon.http.NotFoundException
- All Implemented Interfaces:
Serializable
A runtime exception indicating a
not found.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotFoundException(String message) CreatesNotFoundException.NotFoundException(String message, Throwable cause) CreatesNotFoundException. -
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
-
NotFoundException
CreatesNotFoundException.- Parameters:
message- the message
-
NotFoundException
CreatesNotFoundException.- Parameters:
message- the messagecause- the cause of this exception
-