Class ResourceUnavailableException

    • Constructor Detail

      • ResourceUnavailableException

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

      • setResourceId

        public void setResourceId​(String resourceId)

        The identifier of the resource that is not available.

        Parameters:
        resourceId - The identifier of the resource that is not available.
      • getResourceId

        public String getResourceId()

        The identifier of the resource that is not available.

        Returns:
        The identifier of the resource that is not available.
      • withResourceId

        public ResourceUnavailableException withResourceId​(String resourceId)

        The identifier of the resource that is not available.

        Parameters:
        resourceId - The identifier of the resource that is not available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.