Package net.sf.ehcache.config
Class InvalidConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.ehcache.CacheException
-
- net.sf.ehcache.config.InvalidConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidConfigurationException extends CacheException
An exception to report invalid configuration settings.- Author:
- gbevin, Greg Luck
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidConfigurationException(java.lang.String message)Constructs a new exception with a detailed message that explains the cause.InvalidConfigurationException(java.lang.String rootCause, java.util.Collection<ConfigError> errors)Constructs a new exception with a message containing all config errorsInvalidConfigurationException(java.util.Collection<ConfigError> errors)Constructs a new exception with a message containing all config errors
-
-
-
Constructor Detail
-
InvalidConfigurationException
public InvalidConfigurationException(java.lang.String message)
Constructs a new exception with a detailed message that explains the cause.- Parameters:
message- the exception message
-
InvalidConfigurationException
public InvalidConfigurationException(java.util.Collection<ConfigError> errors)
Constructs a new exception with a message containing all config errors- Parameters:
errors- the list of error encountered
-
InvalidConfigurationException
public InvalidConfigurationException(java.lang.String rootCause, java.util.Collection<ConfigError> errors)Constructs a new exception with a message containing all config errors- Parameters:
errors- the list of error encountered
-
-