public class InvalidConfigurationException extends CacheException
Constructor and Description |
---|
InvalidConfigurationException(java.util.Collection<ConfigError> errors)
Constructs a new exception with a message containing all config errors
|
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 errors
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
createErrorMessage(java.lang.String rootCause,
java.util.Collection<ConfigError> errors) |
public InvalidConfigurationException(java.lang.String message)
message
- the exception messagepublic InvalidConfigurationException(java.util.Collection<ConfigError> errors)
errors
- the list of error encounteredpublic InvalidConfigurationException(java.lang.String rootCause, java.util.Collection<ConfigError> errors)
errors
- the list of error encounteredprivate static java.lang.String createErrorMessage(java.lang.String rootCause, java.util.Collection<ConfigError> errors)