javax.jcr.lock
Class LockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jcr.RepositoryException
javax.jcr.lock.LockException
- All Implemented Interfaces:
- Serializable
public class LockException
- extends RepositoryException
Exception thrown by Item.save() and Session.save() when
persisting a change would conflict with a lock.
- See Also:
- Serialized Form
|
Constructor Summary |
LockException()
Constructs a new instance of this class with null as its
detail message. |
LockException(String message)
Constructs a new instance of this class with the specified detail
message. |
LockException(String message,
Throwable rootCause)
Constructs a new instance of this class with the specified detail
message and root cause. |
LockException(Throwable rootCause)
Constructs a new instance of this class with the specified root cause. |
LockException
public LockException()
- Constructs a new instance of this class with
null as its
detail message.
LockException
public LockException(String message)
- Constructs a new instance of this class with the specified detail
message.
- Parameters:
message - the detail message. The detail message is saved for
later retrieval by the RepositoryException.getMessage() method.
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. The detail message is saved for
later retrieval by the RepositoryException.getMessage() method.rootCause - root failure cause
LockException
public LockException(Throwable rootCause)
- Constructs a new instance of this class with the specified root cause.
- Parameters:
rootCause - root failure cause
Copyright © 2004-2011 Day Management AG. All Rights Reserved.