org.infinispan
Class CacheException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.infinispan.CacheException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigurationException, DeadlockDetectedException, EmbeddedCacheManagerStartupException, IncorrectListenerException, InvalidTransactionException, JmxDomainConflictException, NodeNotExistsException, NodeNotValidException, NotSerializableException, RehashInProgressException, RpcException, SuspectException, TimeoutException

public class CacheException
extends RuntimeException

Thrown when operations on Cache fail unexpectedly.

Specific subclasses such as TimeoutException and ConfigurationException have more specific uses.

Transactions: if a CacheException (including any subclasses) is thrown for an operation on a JTA transaction, then the transaction is marked for rollback.

Since:
4.0
Author:
Bela Ban, Manik Surtani, Mircea.Markus@jboss.com
See Also:
Serialized Form

Constructor Summary
CacheException()
           
CacheException(String msg)
           
CacheException(String msg, Throwable cause)
           
CacheException(Throwable 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

CacheException

public CacheException()

CacheException

public CacheException(Throwable cause)

CacheException

public CacheException(String msg)

CacheException

public CacheException(String msg,
                      Throwable cause)

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.