Class ConfigException.ValidationProblem

java.lang.Object
com.typesafe.config.ConfigException.ValidationProblem
Enclosing class:
ConfigException

public static class ConfigException.ValidationProblem extends Object
Information about a problem that occurred in Config.checkValid(com.typesafe.config.Config, java.lang.String...). A ConfigException.ValidationFailed exception thrown from checkValid() includes a list of problems encountered.
  • Constructor Details

  • Method Details

    • path

      public String path()
      Returns the config setting causing the problem.
      Returns:
      the path of the problem setting
    • origin

      public ConfigOrigin origin()
      Returns where the problem occurred (origin may include info on the file, line number, etc.).
      Returns:
      the origin of the problem setting
    • problem

      public String problem()
      Returns a description of the problem.
      Returns:
      description of the problem
    • toString

      public String toString()
      Overrides:
      toString in class Object