com.typesafe.config
Class ConfigException.ValidationFailed

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.ValidationFailed
All Implemented Interfaces:
Serializable
Enclosing class:
ConfigException

public static class ConfigException.ValidationFailed
extends ConfigException

Exception indicating that 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.

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.ValidationFailed(Iterable<ConfigException.ValidationProblem> problems)
           
 
Method Summary
 Iterable<ConfigException.ValidationProblem> problems()
           
 
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.ValidationFailed

public ConfigException.ValidationFailed(Iterable<ConfigException.ValidationProblem> problems)
Method Detail

problems

public Iterable<ConfigException.ValidationProblem> problems()