Package com.sas.lsaf.content.workspace
Class WorkspaceItemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
com.sas.lsaf.content.workspace.WorkspaceItemException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WorkspaceItemCopyException,WorkspaceItemDeleteException,WorkspaceItemExistsException,WorkspaceItemMoveException,WorkspaceItemNotFoundException,WorkspaceMarkForAddException
The root of the hierarchy of all workspace item checked exceptions.
This class is abstract because this exception should not be constructed directly. Rather, a more detailed subclass should be constructed and thrown.
- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceItemException(String path, String message) Constructs aWorkspaceItemExceptionwith 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
-
WorkspaceItemException
Constructs aWorkspaceItemExceptionwith the specified path and message.- Parameters:
path- the path of the workspace item.message- the detail message (which is saved for later retrieval by theAbstractCheckedException.getMessage()method).
-
-
Method Details
-
getPath
Gets the path of the workspace item that caused the exception.- Returns:
- The path of the workspace item that caused the exception.
-