org.tbwork.anole.loader.exceptions.ConfigTypeNotMatchedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of anole-loader Show documentation
Show all versions of anole-loader Show documentation
An awesome property or configuration loader for java.
The newest version!
package org.tbwork.anole.loader.exceptions;
import org.tbwork.anole.loader.types.ConfigType;
public class ConfigTypeNotMatchedException extends RuntimeException {
public ConfigTypeNotMatchedException()
{
super("The type of config does not match the target type user request.");
}
public ConfigTypeNotMatchedException(ConfigType valueType, ConfigType targetType)
{
super(String.format( "The type of config (%s) does not match the target type (%s) user request.", valueType, targetType));
}
}