com.typesafe.config
Class ConfigException.BadValue

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.typesafe.config.ConfigException
                  extended by 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.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
ConfigException.BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message)
           
ConfigException.BadValue(ConfigOrigin origin, java.lang.String path, java.lang.String message, java.lang.Throwable cause)
           
ConfigException.BadValue(java.lang.String path, java.lang.String message)
           
ConfigException.BadValue(java.lang.String path, java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.typesafe.config.ConfigException
origin
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigException.BadValue

public ConfigException.BadValue(ConfigOrigin origin,
                                java.lang.String path,
                                java.lang.String message,
                                java.lang.Throwable cause)

ConfigException.BadValue

public ConfigException.BadValue(ConfigOrigin origin,
                                java.lang.String path,
                                java.lang.String message)

ConfigException.BadValue

public ConfigException.BadValue(java.lang.String path,
                                java.lang.String message,
                                java.lang.Throwable cause)

ConfigException.BadValue

public ConfigException.BadValue(java.lang.String path,
                                java.lang.String message)