com.googlecode.ehcache.annotations
Class CacheNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.googlecode.ehcache.annotations.CacheException
                  extended by com.googlecode.ehcache.annotations.CacheNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class CacheNotFoundException
extends CacheException

Raised when no cache can be found with the specified name.

Version:
$Revision: 656 $
Author:
Nicholas Blair, Eric Dalquist
See Also:
Serialized Form

Constructor Summary
CacheNotFoundException(java.lang.String cacheName)
          Creates a CacheNotFoundException.
 
Method Summary
 java.lang.String getCacheName()
           
 
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

CacheNotFoundException

public CacheNotFoundException(java.lang.String cacheName)
Creates a CacheNotFoundException.

Parameters:
cacheName - the name of the cache that could be found
Method Detail

getCacheName

public java.lang.String getCacheName()


Copyright © 2011. All Rights Reserved.