Class RepositoryItemRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RepositoryContextTypeDisabledException, RepositoryItemCheckedoutException, RepositoryItemIllegalStateException, RepositoryItemLockedException

public abstract class RepositoryItemRuntimeException extends RepositoryRuntimeException
The root of the hierarchy of all runtime 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:
2.1
See Also:
  • Constructor Details

    • RepositoryItemRuntimeException

      public RepositoryItemRuntimeException(String path, String message)
      Constructs a RepositoryItemRuntimeException 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 AbstractRuntimeException.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.