info.novatec.testit.webtester.config.exceptions.InvalidValueTypeException Maven / Gradle / Ivy
package info.novatec.testit.webtester.config.exceptions;
import java.util.Collection;
import org.apache.commons.lang.StringUtils;
import info.novatec.testit.webtester.config.ConfigurationException;
@SuppressWarnings("serial")
public class InvalidValueTypeException extends ConfigurationException {
public InvalidValueTypeException(Class type, Collection> supportedTypes) {
super("Unsupported value type: " + type + " - allowed types are: " + StringUtils.join(supportedTypes, ", "));
}
}