LeaseExpiredException (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.distributed, class: LeaseExpiredException

Package org.apache.geode.distributed

# Class LeaseExpiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.geode.GemFireException
org.apache.geode.distributed.LeaseExpiredException

All Implemented Interfaces:
  `Serializable`

public class LeaseExpiredException extends GemFireException
A `LeaseExpiredException` is thrown when GemFire detects that a distributed lock obtained by the current thread with a limited lease (see @link DistributedLockService} has expired before it was explicitly released.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LeaseExpiredException(String s)`
  Creates a new `LeaseExpiredException`

- ## Method Summary

  ### Methods inherited from class org.apache.geode.GemFireException

  `getRootCause`

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

  - ### LeaseExpiredException

    public LeaseExpiredException(String s)
    Creates a new `LeaseExpiredException`
    Parameters:
      `s` - the detail message