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
Something went wrong in the cache.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCacheException
(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 Details
-
CacheException
Constructs a CacheException.- Parameters:
message
- Message explaining the exception condition
-
CacheException
Constructs a CacheException.- Parameters:
message
- Message explaining the exception conditioncause
- The underlying cause
-
CacheException
Constructs a CacheException.- Parameters:
cause
- The underlying cause
-