org.tbwork.anole.loader.exceptions.BadTransformValueFormatException 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 BadTransformValueFormatException extends RuntimeException{
public BadTransformValueFormatException(){
super("Error occurs when converting certain string value to certain type");
}
public BadTransformValueFormatException(String value, ConfigType type){
super(String.format("Error occurs when converting '%s' value to %s", value, type));
}
}