com.im.df.api 5.9

com.im.df.api.support
Class ObjectOwnedByOtherUserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by com.im.commons.progress.AlreadyLockedException
                      extended by com.im.df.api.support.ObjectOwnedByOtherUserException
All Implemented Interfaces:
Serializable

public final class ObjectOwnedByOtherUserException
extends AlreadyLockedException

This exception is thrown from a DFLockable.obtainLock(java.lang.String) when the object is already locked. The Exception can provide information on what exactly object has caused the operation to fail, what was the reason of its locked state and who has locked it.

See Also:
Serialized Form

Constructor Summary
ObjectOwnedByOtherUserException(DFLockable lockable, String reason, Throwable trace)
          Creates a new instance of ObjectOwnedByOtherUserException
 
Method Summary
 
Methods inherited from class com.im.commons.progress.AlreadyLockedException
getLockable, getLockedBy, getReason, isLockedForever
 
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

ObjectOwnedByOtherUserException

public ObjectOwnedByOtherUserException(DFLockable lockable,
                                       String reason,
                                       Throwable trace)
Creates a new instance of ObjectOwnedByOtherUserException


com.im.df.api 5.9