org.apache.jackrabbit.ocm.exception
Class LockedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.jackrabbit.ocm.exception.NestableRuntimeException
                  extended by org.apache.jackrabbit.ocm.exception.ObjectContentManagerException
                      extended by org.apache.jackrabbit.ocm.exception.LockingException
                          extended by org.apache.jackrabbit.ocm.exception.LockedException
All Implemented Interfaces:
Serializable

public class LockedException
extends LockingException

Throwed if a path is locked and a operation cannot be performed

Author:
markoc
See Also:
Serialized Form

Constructor Summary
LockedException(String lockOwner, String lockedNodePath)
           
 
Method Summary
 String getLockedNodePath()
           
 String getLockOwner()
           
 
Methods inherited from class org.apache.jackrabbit.ocm.exception.NestableRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockedException

public LockedException(String lockOwner,
                       String lockedNodePath)
Method Detail

getLockOwner

public String getLockOwner()
Returns:
The JCR Lock Owner

getLockedNodePath

public String getLockedNodePath()
Returns:
The JCR locked node path


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.