Class LockUpgradeNotSupportedException

  • All Implemented Interfaces:
    java.io.Serializable, Retry.DoNotRetry

    public final class LockUpgradeNotSupportedException
    extends java.lang.RuntimeException
    implements Retry.DoNotRetry
    Exception thrown when lock upgrade attempted that we do not support. This exception when used within Retry helper should never be reattempted, hence is marked with Retry.DoNotRetry marker.
    Since:
    1.9.13
    See Also:
    Serialized Form
    • Method Summary

      • 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

      • LockUpgradeNotSupportedException

        public LockUpgradeNotSupportedException​(NamedLockSupport namedLock)
        Constructor for case, when current thread attempts lock upgrade on given lock instance.