Class ResourceNotFoundException

All Implemented Interfaces:
Serializable

public class ResourceNotFoundException extends AmazonServiceException

A specified resource cannot be located.

See Also:
  • Constructor Details

    • ResourceNotFoundException

      public ResourceNotFoundException(String message)
      Constructs a new ResourceNotFoundException with the specified error message.
      Parameters:
      message - Describes the error encountered.
  • Method Details

    • setCode

      public void setCode(Integer code)
      Parameters:
      code -
    • getCode

      public Integer getCode()
      Returns:
    • withCode

      public ResourceNotFoundException withCode(Integer code)
      Parameters:
      code -
      Returns:
      Returns a reference to this object so that method calls can be chained together.