Class ResourceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hawaiiframework.exception.HawaiiException
org.hawaiiframework.web.exception.HttpException
org.hawaiiframework.web.exception.ResourceNotFoundException
- All Implemented Interfaces:
Serializable
A resource not found exception.
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newResourceNotFoundException
.ResourceNotFoundException
(String message) Constructs a newResourceNotFoundException
with the supplied message.ResourceNotFoundException
(String message, Throwable cause) Constructs a newResourceNotFoundException
with the supplied message andThrowable
.Constructs a newResourceNotFoundException
with the suppliedThrowable
. -
Method Summary
Methods inherited from class org.hawaiiframework.web.exception.HttpException
getHttpStatus
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceNotFoundException
public ResourceNotFoundException()Constructs a newResourceNotFoundException
. -
ResourceNotFoundException
Constructs a newResourceNotFoundException
with the supplied message.- Parameters:
message
- The message to set.
-
ResourceNotFoundException
Constructs a newResourceNotFoundException
with the supplied message andThrowable
.- Parameters:
message
- The message to set.cause
- The cause.
-
ResourceNotFoundException
Constructs a newResourceNotFoundException
with the suppliedThrowable
.- Parameters:
cause
- The cause.
-