ehcache

net.sf.ehcache.concurrent
Class LocksAcquisitionException

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.concurrent.LocksAcquisitionException
All Implemented Interfaces:
java.io.Serializable

public class LocksAcquisitionException
extends CacheException

Indicates that a timeout has occured while attempting to obtain a set of locks

This is a normal runtime exception which should be handled by calling code. It is possible that simply reattempting to obtain the lock may succeed. Timeouts are often caused by overloaded resources.

The frequency of these Exceptions may be reduced by increasing the timeout if appropriate.

Version:
$Id: LocksAcquisitionException.java 2219 2010-04-13 20:50:11Z lorban $
Author:
Ludovic Orban
See Also:
Serialized Form

Constructor Summary
LocksAcquisitionException(java.lang.String message)
          Constructs a new runtime exception with the specified detail message.
 
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

LocksAcquisitionException

public LocksAcquisitionException(java.lang.String message)
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

ehcache

true