Class ResourceNotFoundException

    • Constructor Detail

      • ResourceNotFoundException

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

      • 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.