Class 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 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.