Class NotFoundException

All Implemented Interfaces:
Serializable

public class NotFoundException extends RequestException
Exception thrown when the requested resource is not found.

The HTTP status for this exception is 404 NOT_FOUND.

Since:
1.0
Version:
2022-09-01
See Also:
  • Constructor Details

    • NotFoundException

      public NotFoundException(String message)
      Constructs a new "not found" exception with the specified message.
      Parameters:
      message - the detailed error message
    • NotFoundException

      public NotFoundException(Throwable cause)
      Constructs a new "not found" exception with the specified cause.
      Parameters:
      cause - the exception that caused this exception
    • NotFoundException

      public NotFoundException(String message, Throwable cause)
      Constructs a new "not found" exception with the specified message and cause.
      Parameters:
      message - the detailed error message
      cause - the exception that caused this exception