Class RepositoryItemException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RepositoryItemCheckinException, RepositoryItemCheckoutException, RepositoryItemCopyException, RepositoryItemDeleteException, RepositoryItemExistsException, RepositoryItemLockException, RepositoryItemMoveException, RepositoryItemNotFoundException, RepositoryItemRenameException, RepositoryItemUndoCheckoutException, RepositoryItemUnlockException, RepositoryItemUpdateException, RepositoryItemVersioningException

public abstract class RepositoryItemException extends RepositoryException
The root of the hierarchy of all checked repository item exceptions. Thrown when manipulating or accessing individual repository items.

Abstract because this exception should not be constructed directly. Rather, a more detailed subclass should be constructed and thrown.

Since:
1.1
See Also:
  • Constructor Details

    • RepositoryItemException

      public RepositoryItemException(String path, String message)
      Constructs a RepositoryItemException with the specified path and message.
      Parameters:
      path - The path to the repository item.
      message - The detail message (which is saved for later retrieval by AbstractCheckedException.getMessage()).
  • Method Details

    • getPath

      public String getPath()
      Gets the path in the repository that raised the exception.
      Returns:
      The path in the repository that raised the exception.