Class NotFoundException

All Implemented Interfaces:
Serializable, Response

public class NotFoundException extends ResourceException
An exception that is thrown when a specified resource cannot be found.
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException()
      Constructs a new exception with null as its detail message.
    • NotFoundException

      public NotFoundException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - The detail message.
    • NotFoundException

      public NotFoundException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The exception which caused this exception to be thrown.
    • NotFoundException

      public NotFoundException(Throwable cause)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - The exception which caused this exception to be thrown.