public static class ConfigException.ValidationFailed extends ConfigException
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.ConfigException.BadBean, 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 and Description |
---|
ValidationFailed(Iterable<ConfigException.ValidationProblem> problems) |
Modifier and Type | Method and Description |
---|---|
Iterable<ConfigException.ValidationProblem> |
problems() |
origin
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationFailed(Iterable<ConfigException.ValidationProblem> problems)
public Iterable<ConfigException.ValidationProblem> problems()
Copyright © 2018 com.typesafe. All rights reserved.