Package org.spincast.core.exceptions
Class NotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spincast.core.exceptions.ResponseResetableExceptionDefault
org.spincast.core.exceptions.NotFoundException
- All Implemented Interfaces:
Serializable
,ResponseResetableException
Exception to throw to trigger the "Not Found" route.
- See Also:
-
Constructor Summary
ConstructorDescriptionIf not already flushed, the response will be reset before running the "Not Found" routing process.NotFoundException
(boolean resetResponse) NotFoundException
(String message) If not already flushed, the response will be reset before running the "Not Found" routing process.NotFoundException
(String message, boolean resetResponse) -
Method Summary
Methods inherited from class org.spincast.core.exceptions.ResponseResetableExceptionDefault
isResetResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotFoundException
public NotFoundException()If not already flushed, the response will be reset before running the "Not Found" routing process. -
NotFoundException
If not already flushed, the response will be reset before running the "Not Found" routing process. -
NotFoundException
public NotFoundException(boolean resetResponse) - Parameters:
resetResponse
- If not already flushed, should the response be reset before running the "Not Found" routing process?
-
NotFoundException
- Parameters:
resetResponse
- If not already flushed, should the response be reset before running the "Not Found" routing process?
-