Class LockOwnershipLostException

All Implemented Interfaces:
Serializable

public final class LockOwnershipLostException extends LoomException
Raised when a client attempts to release or use a CP lock after it no longer owns it.

Ownership is bound to the lock proxy that acquired the fencing token. After a client reconnects, recreates the proxy, or lets its CP ownership expire, callers must acquire the lock again and use the newer fencing token.

See Also:
  • Constructor Details

    • LockOwnershipLostException

      public LockOwnershipLostException(String message)
    • LockOwnershipLostException

      public LockOwnershipLostException(String message, @Nullable Throwable cause)