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

      • setResourceId

        public void setResourceId​(String resourceId)

        The resource could not be found.

        Parameters:
        resourceId - The resource could not be found.
      • getResourceId

        public String getResourceId()

        The resource could not be found.

        Returns:
        The resource could not be found.
      • withResourceId

        public ResourceNotFoundException withResourceId​(String resourceId)

        The resource could not be found.

        Parameters:
        resourceId - The resource could not be found.
        Returns:
        Returns a reference to this object so that method calls can be chained together.