Package org.ametys.core.cache
Class CacheException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.core.cache.CacheException
-
- All Implemented Interfaces:
Serializable
public class CacheException extends RuntimeException
Exception thrown when there is an error when creating or getting aCache
, or when manipulating aCache
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheException(String message)
Constructs a CacheExceptionCacheException(String message, Throwable cause)
Constructs a CacheExceptionCacheException(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
- the detailed message
-
CacheException
public CacheException(String message, Throwable cause)
Constructs a CacheException- Parameters:
message
- the detailed messagecause
- the cause of the Exception
-
CacheException
public CacheException(Throwable cause)
Constructs a CacheException- Parameters:
cause
- the cause of the Exception
-
-