edu.isi.nlp.parameters.exceptions.ParameterConversionException Maven / Gradle / Ivy
The newest version!
package edu.isi.nlp.parameters.exceptions;
public class ParameterConversionException extends ParameterException {
public ParameterConversionException(
String param, String value, Throwable cause, String expectation) {
super(
String.format("For parameter %s, expected %s but got %s.", param, expectation, value),
cause);
}
public ParameterConversionException(String param, String value, String expectation) {
super(String.format("For parameter %s, expected %s but got %s.", param, expectation, value));
}
private static final long serialVersionUID = 1L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy