|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.jcr.RepositoryException javax.jcr.lock.LockException
public class LockException
Exception thrown by when a lock-related error occurs.
Constructor Summary | |
---|---|
LockException()
Constructs a new instance of this class. |
|
LockException(java.lang.String message)
Constructs a new instance of this class with the specified detail message. |
|
LockException(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new instance of this class with the specified detail message and root cause. |
|
LockException(java.lang.String message,
java.lang.Throwable rootCause,
java.lang.String failureNodePath)
Constructs a new instance of this class with the specified detail message, root cause and failure node path. |
|
LockException(java.lang.Throwable rootCause)
Constructs a new instance of this class with the specified root cause. |
Method Summary | |
---|---|
java.lang.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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LockException()
public LockException(java.lang.String message)
message
- the detail message.public LockException(java.lang.Throwable rootCause)
rootCause
- the root failure cause.public LockException(java.lang.String message, java.lang.Throwable rootCause)
message
- the detail message.rootCause
- the root failure cause.public LockException(java.lang.String message, java.lang.Throwable rootCause, java.lang.String failureNodePath)
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 Detail |
---|
public java.lang.String getFailureNodePath()
null
if the implementation chooses not to, or cannot, return
a path.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |