Package io.helidon.config
Class MissingValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.helidon.config.ConfigException
-
- io.helidon.config.MissingValueException
-
- All Implemented Interfaces:
Serializable
public final class MissingValueException extends ConfigException
Exception representing a specific failures related to a missing configuration value.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MissingValueException
create(Config.Key key)
Create new missing value exception.static Supplier<MissingValueException>
createSupplier(Config.Key key)
Create new missing value exception supplier.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
create
public static MissingValueException create(Config.Key key)
Create new missing value exception.- Parameters:
key
- configuration key associated with the expected value.- Returns:
- new missing value exception associated with a given key.
-
createSupplier
public static Supplier<MissingValueException> createSupplier(Config.Key key)
Create new missing value exception supplier.- Parameters:
key
- configuration key associated with the expected value.- Returns:
- new supplier of a missing value exception associated with a given key.
-
-