ehcache

net.sf.ehcache.config
Class InvalidConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.ehcache.CacheException
                  extended by net.sf.ehcache.config.InvalidConfigurationException
All Implemented Interfaces:
Serializable

public class InvalidConfigurationException
extends CacheException

An exception to report invalid configuration settings.

Author:
gbevin, Greg Luck
See Also:
Serialized Form

Constructor Summary
InvalidConfigurationException(Collection<ConfigError> errors)
          Constructs a new exception with a message containing all config errors
InvalidConfigurationException(String message)
          Constructs a new exception with a detailed message that explains the cause.
InvalidConfigurationException(String rootCause, Collection<ConfigError> errors)
          Constructs a new exception with a message containing all config errors
 
Method Summary
 
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

InvalidConfigurationException

public InvalidConfigurationException(String message)
Constructs a new exception with a detailed message that explains the cause.

Parameters:
message - the exception message

InvalidConfigurationException

public InvalidConfigurationException(Collection<ConfigError> errors)
Constructs a new exception with a message containing all config errors

Parameters:
errors - the list of error encountered

InvalidConfigurationException

public InvalidConfigurationException(String rootCause,
                                     Collection<ConfigError> errors)
Constructs a new exception with a message containing all config errors

Parameters:
errors - the list of error encountered

ehcache

Copyright 2001-2017, Terracotta, Inc.