AbstractConfigValue

Trying very hard to avoid a parent reference in config values; when you have a tree like this, the availability of parent() tends to result in a lot of improperly-factored and non-modular code. Please don't add parent().

Trying very hard to avoid a parent reference in config values; when you have a tree like this, the availability of parent() tends to result in a lot of improperly-factored and non-modular code. Please don't add parent().

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

@SerialVersionUID(1L)
class NotPossibleToResolve extends RuntimeException

This exception means that a value is inherently not resolveable, at the moment the only known cause is a cycle of substitutions. This is a checked exception since it's internal to the library and we want to be sure we handle it before passing it out to public API. This is only supposed to be thrown by the target of a cyclic reference and it's supposed to be caught by the ConfigReference looking up that reference, so it should be impossible for an outermost resolve() to throw this.

This exception means that a value is inherently not resolveable, at the moment the only known cause is a cycle of substitutions. This is a checked exception since it's internal to the library and we want to be sure we handle it before passing it out to public API. This is only supposed to be thrown by the target of a cyclic reference and it's supposed to be caught by the ConfigReference looking up that reference, so it should be impossible for an outermost resolve() to throw this.

Contrast with ConfigException.NotResolved which just means nobody called resolve().

Value members

Concrete methods

def hasDescendantInList(list: List[AbstractConfigValue], descendant: AbstractConfigValue): Boolean
def indent(sb: StringBuilder, indent: Int, options: ConfigRenderOptions): Unit