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 Details

    • PetstoreNotFoundException

      Constructor.
      Parameters:
      message - Detail message describing what was not found.