Package com.typesafe.config
Class ConfigException.NotResolved
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.typesafe.config.ConfigException
-
- com.typesafe.config.ConfigException.BugOrBroken
-
- com.typesafe.config.ConfigException.NotResolved
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ConfigException
public static class ConfigException.NotResolved extends ConfigException.BugOrBroken
Exception indicating that you tried to use a function that requires substitutions to be resolved, but substitutions have not been resolved (that is,Config.resolve()
was not called). This is always a bug in either application code or the library; it's wrong to write a handler for this exception because you should be able to fix the code to avoid it by adding calls toConfig.resolve()
.- 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 NotResolved(java.lang.String message)
NotResolved(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.typesafe.config.ConfigException
origin
-
-