Package org.infinispan.commons
Class CacheException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.infinispan.commons.CacheException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AllOwnersLostException,AvailabilityException,CacheConfigurationException,CacheJoinException,CacheListenerException,CacheNotFoundException,CacheUnavailableException,CacheUnreachableException,ConcurrentChangeException,DeadlockDetectedException,EmbeddedCacheManagerStartupException,EncodingException,IllegalLifecycleStateException,IncorrectListenerException,InvalidCacheUsageException,InvalidTransactionException,NotSerializableException,OutdatedTopologyException,PersistenceException,RemoteException,RpcException,SuspectException,TimeoutException,WriteSkewException
public class CacheException extends RuntimeException
Thrown when operations fail unexpectedly. Specific subclasses such asTimeoutExceptionandCacheConfigurationExceptionhave 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
Constructors Constructor Description CacheException()CacheException(String msg)CacheException(String msg, Throwable cause)CacheException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)CacheException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-