org.apache.shiro.cache
Class CacheException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.shiro.ShiroException
                  extended by 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
CacheException()
          Creates a new CacheException.
CacheException(String message)
          Creates a new CacheException.
CacheException(String message, Throwable cause)
          Creates a new CacheException.
CacheException(Throwable cause)
          Creates a new CacheException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheException

public CacheException()
Creates a new CacheException.


CacheException

public CacheException(String message)
Creates a new CacheException.

Parameters:
message - the reason for the exception.

CacheException

public CacheException(Throwable cause)
Creates a new CacheException.

Parameters:
cause - the underlying cause of the exception.

CacheException

public CacheException(String message,
                      Throwable cause)
Creates a new CacheException.

Parameters:
message - the reason for the exception.
cause - the underlying cause of the exception.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.