Class PetstoreNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.petstore.service.PetstoreNotFoundException
- All Implemented Interfaces:
Serializable
Thrown by
PetStore when the requested entity does not exist.
The REST layer translates this to a 404 Not Found response.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PetstoreNotFoundException
Constructor.- Parameters:
message- Detail message describing what was not found.
-