java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.avaje.jex.http.HttpResponseException
io.avaje.jex.http.NotFoundException
- All Implemented Interfaces:
Serializable
Thrown when unable to find a route/resource
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotFoundException(Object jsonResponse) Create with a response that will sent as JSON.NotFoundException(String message) Create with a message. -
Method Summary
Methods inherited from class io.avaje.jex.http.HttpResponseException
jsonResponse, statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotFoundException
Create with a message. -
NotFoundException
Create with a response that will sent as JSON.
-