Package com.typesafe.config
Class ConfigException.BadValue
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.typesafe.config.ConfigException
-
- com.typesafe.config.ConfigException.BadValue
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ConfigException
public static class ConfigException.BadValue extends ConfigException
Exception indicating that a value was messed up, for example you may have asked for a duration and the value can't be sensibly parsed as a duration.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.typesafe.config.ConfigException
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 Summary
Constructors Constructor Description BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message)
BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message, java.lang.Throwable cause)
BadValue(java.lang.String path, java.lang.String message)
BadValue(java.lang.String path, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.typesafe.config.ConfigException
origin
-
-
-
-
Constructor Detail
-
BadValue
public BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message, java.lang.Throwable cause)
-
BadValue
public BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message)
-
BadValue
public BadValue(java.lang.String path, java.lang.String message, java.lang.Throwable cause)
-
BadValue
public BadValue(java.lang.String path, java.lang.String message)
-
-