org.apache.portals.graffito.jcr.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.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.IllegalUnlockException
All Implemented Interfaces:
java.io.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(java.lang.String lockOwner, java.lang.String path)
           
 
Method Summary
 java.lang.String getLockOwner()
           
 java.lang.String getPath()
           
 
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

IllegalUnlockException

public IllegalUnlockException(java.lang.String lockOwner,
                              java.lang.String path)
Method Detail

getLockOwner

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

getPath

public java.lang.String getPath()
Returns:
the JCR path


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