Class ObjectOwnedByOtherUserException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ObjectOwnedByOtherUserException
    extends com.im.commons.progress.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.
    Author:
    svata
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectOwnedByOtherUserException​(com.im.commons.progress.DFLockable lockable, java.lang.String reason, java.lang.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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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​(com.im.commons.progress.DFLockable lockable,
                                               java.lang.String reason,
                                               java.lang.Throwable trace)
        Creates a new instance of ObjectOwnedByOtherUserException