Class ResourceNotFoundException

All Implemented Interfaces:
Serializable

public class ResourceNotFoundException extends HttpResponseException
An error response, typically triggered by a 412 response (for update) or 404 (for get/post)
See Also:
  • Constructor Details

    • ResourceNotFoundException

      public ResourceNotFoundException(String message, HttpResponse response)
      Initializes a new instance of the ResourceNotFoundException class.
      Parameters:
      message - the exception message or the response content if a message is not available
      response - the HTTP response
    • ResourceNotFoundException

      public ResourceNotFoundException(String message, HttpResponse response, Object value)
      Initializes a new instance of the ResourceNotFoundException class.
      Parameters:
      message - the exception message or the response content if a message is not available
      response - the HTTP response
      value - the deserialized response value
    • ResourceNotFoundException

      public ResourceNotFoundException(String message, HttpResponse response, Throwable cause)
      Initializes a new instance of the ResourceNotFoundException class.
      Parameters:
      message - the exception message or the response content if a message is not available
      response - the HTTP response
      cause - the Throwable which caused the creation of this ResourceNotFoundException