com.energizedwork.justConf.JFConfigException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfconfig Show documentation
Show all versions of jfconfig Show documentation
Simple validated configuration loading
The newest version!
package com.energizedwork.justConf;
import io.dropwizard.configuration.ConfigurationException;
/**
* used to wrap any exceptions from attempting to create a configuration using the {@link JFConfig} utility methods
*
*
* In particular, the checked exceptions {@link java.io.IOException} and {@link ConfigurationException}.
*
*/
public class JFConfigException extends RuntimeException {
JFConfigException(Throwable throwable) {
super("Failed to create configuration: " + throwable.getLocalizedMessage(), throwable);
}
public JFConfigException(String s, Throwable throwable) {
super(s, throwable);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy