ddprofiler/app/src/main/java/ddprofiler/core/config/ConfigException.java
<reponame>TheDataStation/ver/**
 * @author Raul - upchh@example.com
 */
package ddprofiler.core.config;

/**
 * Thrown if the user supplies an invalid configuration
 */
public class ConfigException extends DDProfilerException {

    private static final long serialVersionUID = 1L;

    public ConfigException(String message) {
        super(message);
    }

    public ConfigException(String name, Object value) {
        this(name, value, null);
    }

    public ConfigException(String name, Object value, String message) {
        super("Invalid value " + value + " for configuration " + name +
                (message == null ? "" : ": " + message));
    }
}
