Class LockException

All Implemented Interfaces:
Serializable

public class LockException extends RepositoryException
Exception thrown by when a lock-related error occurs.
See Also:
  • Constructor Details

    • LockException

      public LockException()
      Constructs a new instance of this class.
    • LockException

      public LockException(String message)
      Constructs a new instance of this class with the specified detail message.
      Parameters:
      message - the detail message.
    • LockException

      public LockException(Throwable rootCause)
      Constructs a new instance of this class with the specified root cause.
      Parameters:
      rootCause - the root failure cause.
    • LockException

      public LockException(String message, Throwable rootCause)
      Constructs a new instance of this class with the specified detail message and root cause.
      Parameters:
      message - the detail message.
      rootCause - the root failure cause.
    • LockException

      public LockException(String message, Throwable rootCause, String failureNodePath)
      Constructs a new instance of this class with the specified detail message, root cause and failure node path.
      Parameters:
      message - the detail message.
      rootCause - the root failure cause.
      failureNodePath - the absolute path of the node that caused the error or null if the implementation chooses not to, or cannot, return a path.

      If a path is passed it must be an absolute path in normalized, standard form, that is, each path segment must be a JCR name in qualified form, the path must have no trailing slash, no self or parent segments and no [1] indexes.

  • Method Details

    • getFailureNodePath

      public String getFailureNodePath()
      Returns the absolute path of the node that caused the error or null if the implementation chooses not to, or cannot, return a path.
      Returns:
      path of the node that caused the error