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:
java.io.Serializable
- Direct Known Subclasses:
CacheConfigurationException,CacheListenerException,EncodingException,NotSerializableException
public class CacheException extends java.lang.RuntimeExceptionThrown 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(java.lang.String msg)CacheException(java.lang.String msg, java.lang.Throwable cause)CacheException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)CacheException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
CacheException
public CacheException()
-
CacheException
public CacheException(java.lang.Throwable cause)
-
CacheException
public CacheException(java.lang.String msg)
-
CacheException
public CacheException(java.lang.String msg, java.lang.Throwable cause)
-
CacheException
public CacheException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-