Class WorkspaceItemException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WorkspaceItemCopyException, WorkspaceItemDeleteException, WorkspaceItemExistsException, WorkspaceItemMoveException, WorkspaceItemNotFoundException, WorkspaceMarkForAddException

public abstract class WorkspaceItemException extends AbstractCheckedException
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 Details

    • WorkspaceItemException

      public WorkspaceItemException(String path, String message)
      Constructs a WorkspaceItemException with the specified path and message.
      Parameters:
      path - the path of the workspace item.
      message - the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage() method).
  • Method Details

    • getPath

      public String getPath()
      Gets the path of the workspace item that caused the exception.
      Returns:
      The path of the workspace item that caused the exception.