All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tbwork.anole.loader.exceptions.ConfigTypeNotMatchedException Maven / Gradle / Ivy

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));
    }
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy