Top Description Constructors Methods
net.sf.ehcache.config

public Class InvalidConfigurationException

extends CacheException
Class Inheritance
Imports
net.sf.ehcache.CacheException, java.util.Collection

An exception to report invalid configuration settings.
Authors
gbevin, Greg Luck

Constructor Summary

AccessConstructor and Description
public
InvalidConfigurationException(String
the exception message
message
)

Constructs a new exception with a detailed message that explains the cause.

public
InvalidConfigurationException(final Collection<ConfigError>
the list of error encountered
errors
)

Constructs a new exception with a message containing all config errors

public
InvalidConfigurationException(final String rootCause, final Collection<ConfigError>
the list of error encountered
errors
)

Constructs a new exception with a message containing all config errors

Method Summary

Modifier and TypeMethod and Description
private static String
createErrorMessage(final String rootCause, Collection<ConfigError> errors)

Constructor Detail

InvalidConfigurationExceptionback to summary
public InvalidConfigurationException(String message)

Constructs a new exception with a detailed message that explains the cause.

Parameters
message:String

the exception message

InvalidConfigurationExceptionback to summary
public InvalidConfigurationException(final Collection<ConfigError> errors)

Constructs a new exception with a message containing all config errors

Parameters
errors:Collection<ConfigError>

the list of error encountered

InvalidConfigurationExceptionback to summary
public InvalidConfigurationException(final String rootCause, final Collection<ConfigError> errors)

Constructs a new exception with a message containing all config errors

Parameters
errors:Collection<ConfigError>

the list of error encountered

Method Detail

createErrorMessageback to summary
private static String createErrorMessage(final String rootCause, Collection<ConfigError> errors)