ehcache

net.sf.ehcache.constructs.nonstop.concurrency
Class InvalidLockStateAfterRejoinException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.ehcache.CacheException
                  extended by net.sf.ehcache.constructs.nonstop.NonStopCacheException
                      extended by net.sf.ehcache.constructs.nonstop.concurrency.InvalidLockStateAfterRejoinException
All Implemented Interfaces:
Serializable

public class InvalidLockStateAfterRejoinException
extends NonStopCacheException

Exception class signifying invalid lock state. This normally happens when locks are acquired using explicit lock api's in Ehcache and a rejoin happens. All locks are flushed/invalidated when a Terracotta client rejoins the cluster. This exception will be thrown, for example, when trying to unlock a lock that was acquired prior to a rejoin.

Author:
Abhishek Sanoujam
See Also:
Serialized Form

Constructor Summary
InvalidLockStateAfterRejoinException()
          Default Constructor
InvalidLockStateAfterRejoinException(String message, Throwable cause)
          Constructor accepting a root cause and a message
InvalidLockStateAfterRejoinException(Throwable cause)
          Constructor accepting a root cause
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

InvalidLockStateAfterRejoinException

public InvalidLockStateAfterRejoinException()
Default Constructor


InvalidLockStateAfterRejoinException

public InvalidLockStateAfterRejoinException(Throwable cause)
Constructor accepting a root cause


InvalidLockStateAfterRejoinException

public InvalidLockStateAfterRejoinException(String message,
                                            Throwable cause)
Constructor accepting a root cause and a message


ehcache

Copyright 2001-2014, Terracotta, Inc.