Uses of Class
net.morimekta.config.ConfigException
-
-
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 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.protected ConfigTypeConfigReader. parseConfig(Path file, InputStream stream)Parse config file into the designated type.protected ConfigTypeConfigReader.YamlConfigReader. parseConfig(Path file, InputStream stream)ConfigTypeConfigReader. readConfig(Path file)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.Constructors in net.morimekta.config with parameters of type ConfigException Constructor Description UncheckedConfigException(ConfigException cause)Create an unchecked config exception
-