com.hazelcast.cp.lock.exception

## Class LockOwnershipLostException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.IllegalMonitorStateException
        - - com.hazelcast.cp.lock.exception.LockOwnershipLostException

- All Implemented Interfaces:
    Serializable

      public class LockOwnershipLostException
      extends IllegalMonitorStateException

  Thrown when an endpoint (either a Hazelcast server or a client) interacts with a `FencedLock` instance after its CP session is closed in the underlying CP group and its lock ownership is cancelled.
  See Also:
    `FencedLock`, `CPSession`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LockOwnershipLostException()`
    `LockOwnershipLostException(String message)`

  - ### 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

    - #### LockOwnershipLostException

          public LockOwnershipLostException()

    - #### LockOwnershipLostException

          public LockOwnershipLostException(String message)

Copyright © 2019. All rights reserved.