Package 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:
java.io.Serializable
- Enclosing class:
- ConfigException
public static class ConfigException.ValidationFailed extends ConfigException
Exception indicating thatConfig.checkValid(com.typesafe.config.Config, java.lang.String...)
found validity problems. The problems are available via theproblems()
method. ThegetMessage()
of this exception is a potentially very long string listing all the problems found.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description ValidationFailed(java.lang.Iterable<ConfigException.ValidationProblem> problems)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<ConfigException.ValidationProblem>
problems()
-
Methods inherited from class com.typesafe.config.ConfigException
origin
-
-
-
-
Constructor Detail
-
ValidationFailed
public ValidationFailed(java.lang.Iterable<ConfigException.ValidationProblem> problems)
-
-
Method Detail
-
problems
public java.lang.Iterable<ConfigException.ValidationProblem> problems()
-
-