Class CacheException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AvailabilityException, CacheBackpressureFullException, CacheConfigurationException, CacheJoinException, CacheListenerException, CacheNotFoundException, CacheUnavailableException, CacheUnreachableException, CrossSiteIllegalLifecycleStateException, DeadlockDetectedException, DiscardUpdateException, EmbeddedCacheManagerStartupException, EncodingException, IllegalLifecycleStateException, IncorrectListenerException, InvalidCacheUsageException, InvalidTransactionException, LockReleasedException, MarshallingException, MissingMembersException, NotSerializableException, PersistenceException, RemoteException, RpcException, SuspectException, TimeoutException, WriteSkewException

public class CacheException extends RuntimeException
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 Details

    • CacheException

      public CacheException()
    • CacheException

      public CacheException(Throwable cause)
    • CacheException

      public CacheException(String msg)
    • CacheException

      public CacheException(String msg, Throwable cause)
    • CacheException

      public CacheException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)