Uses of Class
net.morimekta.config.ConfigException
Packages that use ConfigException
-
Uses of ConfigException in net.morimekta.config
Methods in net.morimekta.config that return ConfigExceptionModifier and TypeMethodDescriptionstatic 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.UncheckedConfigException.getCause()Methods in net.morimekta.config that throw ConfigExceptionModifier and TypeMethodDescriptionstatic <ConfigType>
ConfigSupplier<ConfigType>Load a config file, and detect file type and using default reader for the type.voidLoad 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.voidConfigChangeListener.onConfigChange(ConfigChangeType changeType, ConfigEntry config) Called on changes to config.ConfigWatcher.start()Start the NetworkConfigWatcher and throw exception if unable to read and update config.ConfigWatcher.start(boolean failOnConfigException) 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 ConfigExceptionModifierConstructorDescriptionCreate an unchecked config exception -
Uses of ConfigException in net.morimekta.config.readers
Methods in net.morimekta.config.readers that throw ConfigExceptionModifier and TypeMethodDescriptionConfigReaderSupplier.getReaderFor(Path file) ProvidedConfigReaderSupplier.getReaderFor(Path file) ConfigReader.readConfig(Path file) YamlConfigReader.readConfig(Path file)