Top Description Fields Constructors Methods
net.sf.ehcache.config

public Class CacheConfigError

extends ConfigError
Class Inheritance

Represents a config error in a cache configuration
Author
Alex Snaps

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
CacheConfigError(final String
the error message
error
,
final String
the cache name for which this error occured
cacheName
)

Constructor

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

cache name
getCacheName
()

Returns the cache name

public String
toString()

Overrides net.sf.ehcache.config.ConfigError.toString.

Returns a string representation of the object.
Inherited from net.sf.ehcache.config.ConfigError:
getError

Field Detail

cacheNameback to summary
private final String cacheName

Constructor Detail

CacheConfigErrorback to summary
public CacheConfigError(final String error, final String cacheName)

Constructor

Parameters
error:String

the error message

cacheName:String

the cache name for which this error occured

Method Detail

getCacheNameback to summary
public String getCacheName()

Returns the cache name

Returns:String

cache name

toStringback to summary
public String toString()

Overrides net.sf.ehcache.config.ConfigError.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override