org.apache.portals.graffito.jcr.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.portals.graffito.jcr.exception.NestableRuntimeException
                  extended by org.apache.portals.graffito.jcr.exception.PersistenceException
                      extended by org.apache.portals.graffito.jcr.exception.LockingException
                          extended by org.apache.portals.graffito.jcr.exception.LockedException
All Implemented Interfaces:
java.io.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(java.lang.String lockOwner, java.lang.String lockedNodePath)
           
 
Method Summary
 java.lang.String getLockedNodePath()
           
 java.lang.String getLockOwner()
           
 
Methods inherited from class org.apache.portals.graffito.jcr.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(java.lang.String lockOwner,
                       java.lang.String lockedNodePath)
Method Detail

getLockOwner

public java.lang.String getLockOwner()
Returns:
The JCR Lock Owner

getLockedNodePath

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


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