Package org.apache.shiro.cache
Class CacheException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.cache.CacheException
-
- All Implemented Interfaces:
Serializable
public class CacheException extends ShiroException
Root class of all Shiro exceptions related to caching operations.- Since:
- 0.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheException()
Creates a newCacheException
.CacheException(String message)
Creates a newCacheException
.CacheException(String message, Throwable cause)
Creates a newCacheException
.CacheException(Throwable cause)
Creates a newCacheException
.
-
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()
Creates a newCacheException
.
-
CacheException
public CacheException(String message)
Creates a newCacheException
.- Parameters:
message
- the reason for the exception.
-
CacheException
public CacheException(Throwable cause)
Creates a newCacheException
.- Parameters:
cause
- the underlying cause of the exception.
-
CacheException
public CacheException(String message, Throwable cause)
Creates a newCacheException
.- Parameters:
message
- the reason for the exception.cause
- the underlying cause of the exception.
-
-