Package org.hibernate.cache
Class CacheException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.cache.CacheException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoCacheRegionFactoryAvailableException
public class CacheException extends HibernateException
Something went wrong in the cache.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheException(String message)
Constructs a CacheException.CacheException(String message, Throwable cause)
Constructs a CacheException.CacheException(Throwable cause)
Constructs a CacheException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CacheException
public CacheException(String message)
Constructs a CacheException.- Parameters:
message
- Message explaining the exception condition
-
CacheException
public CacheException(String message, Throwable cause)
Constructs a CacheException.- Parameters:
message
- Message explaining the exception conditioncause
- The underlying cause
-
CacheException
public CacheException(Throwable cause)
Constructs a CacheException.- Parameters:
cause
- The underlying cause
-
-