ehcache

net.sf.ehcache.config
Class CacheConfigError

java.lang.Object
  extended by net.sf.ehcache.config.ConfigError
      extended by net.sf.ehcache.config.CacheConfigError

public class CacheConfigError
extends ConfigError

Represents a config error in a cache configuration

Author:
Alex Snaps

Constructor Summary
CacheConfigError(String error, String cacheName)
          Constructor
 
Method Summary
 String getCacheName()
          Returns the cache name
 String toString()
           
 
Methods inherited from class net.sf.ehcache.config.ConfigError
getError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheConfigError

public CacheConfigError(String error,
                        String cacheName)
Constructor

Parameters:
error - the error message
cacheName - the cache name for which this error occured
Method Detail

getCacheName

public String getCacheName()
Returns the cache name

Returns:
cache name

toString

public String toString()
Overrides:
toString in class ConfigError

ehcache

Copyright 2001-2015, Terracotta, Inc.