public static class ConfigException.ValidationProblem extends java.lang.Object
Config.checkValid(com.typesafe.config.Config, java.lang.String...). A
ConfigException.ValidationFailed exception thrown from
checkValid() includes a list of problems encountered.| Constructor and Description |
|---|
ValidationProblem(java.lang.String path,
ConfigOrigin origin,
java.lang.String problem) |
| Modifier and Type | Method and Description |
|---|---|
ConfigOrigin |
origin()
Returns where the problem occurred (origin may include info on the
file, line number, etc.).
|
java.lang.String |
path()
Returns the config setting causing the problem.
|
java.lang.String |
problem()
Returns a description of the problem.
|
java.lang.String |
toString() |
public ValidationProblem(java.lang.String path, ConfigOrigin origin, java.lang.String problem)
public java.lang.String path()
public origin()
public java.lang.String problem()
public java.lang.String toString()
toString in class java.lang.Object