Package com.sas.lsaf.content.repository
Class RepositoryItemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.content.repository.RepositoryException
com.sas.lsaf.content.repository.RepositoryItemException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RepositoryItemCheckinException,RepositoryItemCheckoutException,RepositoryItemCopyException,RepositoryItemDeleteException,RepositoryItemExistsException,RepositoryItemLockException,RepositoryItemMoveException,RepositoryItemNotFoundException,RepositoryItemRenameException,RepositoryItemUndoCheckoutException,RepositoryItemUnlockException,RepositoryItemUpdateException,RepositoryItemVersioningException
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 Summary
ConstructorsConstructorDescriptionRepositoryItemException(String path, String message) Constructs aRepositoryItemExceptionwith the specified path and message. -
Method Summary
Methods inherited from class com.sas.lsaf.core.AbstractCheckedException
getMessage, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RepositoryItemException
Constructs aRepositoryItemExceptionwith the specified path and message.- Parameters:
path- The path to the repository item.message- The detail message (which is saved for later retrieval byAbstractCheckedException.getMessage()).
-
-
Method Details
-
getPath
Gets the path in the repository that raised the exception.- Returns:
- The path in the repository that raised the exception.
-