org.apache.jackrabbit.ocm.exception
Class IllegalUnlockException

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.ObjectContentManagerException
                  extended by org.apache.jackrabbit.ocm.exception.LockingException
                      extended by org.apache.jackrabbit.ocm.exception.IllegalUnlockException
All Implemented Interfaces:
Serializable

public class IllegalUnlockException
extends LockingException

If user cannot unlock path, for example if he/she have not correct lockTokens

Author:
Martin Koci, Alexandru Popescu
See Also:
Serialized Form

Constructor Summary
IllegalUnlockException(String lockOwner, String path)
           
 
Method Summary
 String getLockOwner()
           
 String getPath()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalUnlockException

public IllegalUnlockException(String lockOwner,
                              String path)
Method Detail

getLockOwner

public String getLockOwner()
Returns:
The JCR Lock Owner

getPath

public String getPath()
Returns:
the JCR path


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