Class NotFoundException

All Implemented Interfaces:
Serializable

public class NotFoundException extends ClientErrorException
This Exception is thrown when an unhandled HttpStatus.NOT_FOUND status code occurs.
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException(URI uri)
      Create a new NotFoundException.
    • NotFoundException

      public NotFoundException(URI uri, String message)
      Create a new NotFoundException with a message.
      Parameters:
      message - An error message.
  • Method Details

    • uri

      public URI uri()
      Returns the URI that was not found.
      Returns:
      A URI.