Uses of Class
net.morimekta.config.ConfigException
-
Packages that use ConfigException Package Description net.morimekta.config net.morimekta.config.readers -
-
Uses of ConfigException in net.morimekta.config
Methods in net.morimekta.config that return ConfigException Modifier and Type Method Description static ConfigExceptionConfigException. asConfigException(Throwable e)Make a config exception out of an exception.static ConfigExceptionConfigException. asConfigException(Throwable e, int skipTopOfStack)Make a config exception out of an exception.Methods in net.morimekta.config that throw ConfigException Modifier and Type Method Description static <ConfigType>
ConfigSupplier<ConfigType>ConfigSupplier. config(Class<ConfigType> type, Path file)Load a config file, and detect file type and using default reader for the type.voidConfigSupplier. load(Path filePath)Load config from file and store the result as the supplied config.voidConfigSupplier. loadAndMonitor(Path filePath)Load config from file, store the result as the supplied config and start monitoring the actual file for updates.ConfigWatcher<ConfigFileType>ConfigWatcher. start()Start the NetworkConfigWatcher and throw exception if unable to read and update config.voidConfigExceptionBuffer. throwIfPresent()Throw the accumulated exception, if it has an exception.static <ConfigType>
ConfigSupplier<ConfigType>ConfigSupplier. yamlConfig(Class<ConfigType> type, Path file, Consumer<com.fasterxml.jackson.databind.ObjectMapper> initMapper)Load config as YAML.Constructors in net.morimekta.config with parameters of type ConfigException Constructor Description UncheckedConfigException(ConfigException cause)Create an unchecked config exception -
Uses of ConfigException in net.morimekta.config.readers
Methods in net.morimekta.config.readers that throw ConfigException Modifier and Type Method Description ConfigReader<ConfigType>ConfigReaderSupplier. getReaderFor(Path file)ConfigReader<ConfigType>ProvidedConfigReaderSupplier. getReaderFor(Path file)ConfigTypeConfigReader. readConfig(Path file)ConfigTypeYamlConfigReader. readConfig(Path file)
-