Class ResourceException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccessDeniedException, UnknownResourceException

public class ResourceException extends RepositoryException
Raised when resource was not found.
Author:
Stepan Roh, Polarion Software
See Also:
  • Constructor Details

    • ResourceException

      public ResourceException(ILocation resource)
      Exception without message and cause.
      Parameters:
      resource - resource location (should be absolute if possible)
    • ResourceException

      public ResourceException(ILocation resource, String message)
      Exception with message and without cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      message - detail message
    • ResourceException

      public ResourceException(ILocation resource, Throwable cause)
      Exception without message and with cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      cause - exception cause
    • ResourceException

      public ResourceException(ILocation resource, String message, Throwable cause)
      Exception with message and cause.
      Parameters:
      resource - resource location (should be absolute if possible)
      message - detail message
      cause - exception cause
  • Method Details

    • getResource

      public ILocation getResource()
      Return resource in question.
      Returns:
      resource location