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:
AvailabilityException
,CacheBackpressureFullException
,CacheConfigurationException
,CacheListenerException
,EmbeddedCacheManagerStartupException
,IllegalLifecycleStateException
,IncorrectListenerException
,InvalidCacheUsageException
,MarshallingException
,NotSerializableException
,PersistenceException
,WriteSkewException
Thrown when operations fail unexpectedly.
Specific subclasses such as
TimeoutException
and CacheConfigurationException
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCacheException
(String msg) CacheException
(String msg, Throwable cause) CacheException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) CacheException
(Throwable cause)
-
Constructor Details
-
CacheException
public CacheException() -
CacheException
-
CacheException
-
CacheException
-
CacheException
-