com.typesafe.config
Class ConfigException.ValidationFailed
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.typesafe.config.ConfigException
com.typesafe.config.ConfigException.ValidationFailed
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ConfigException
public static class ConfigException.ValidationFailed
- extends ConfigException
Exception indicating that Config.checkValid(com.typesafe.config.Config, java.lang.String...)
found validity
problems. The problems are available via the problems()
method.
The getMessage()
of this exception is a potentially very
long string listing all the problems found.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.typesafe.config.ConfigException |
ConfigException.BadPath, ConfigException.BadValue, ConfigException.BugOrBroken, ConfigException.Generic, ConfigException.IO, ConfigException.Missing, ConfigException.NotResolved, ConfigException.Null, ConfigException.Parse, ConfigException.UnresolvedSubstitution, ConfigException.ValidationFailed, ConfigException.ValidationProblem, ConfigException.WrongType |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConfigException.ValidationFailed
public ConfigException.ValidationFailed(Iterable<ConfigException.ValidationProblem> problems)
problems
public Iterable<ConfigException.ValidationProblem> problems()