edu.isi.nlp.parameters.exceptions.InvalidEnumeratedPropertyException Maven / Gradle / Ivy
The newest version!
package edu.isi.nlp.parameters.exceptions;
import com.google.common.base.Joiner;
public class InvalidEnumeratedPropertyException extends ParameterException {
private static final long serialVersionUID = 1L;
public InvalidEnumeratedPropertyException(
String param, String value, Iterable possibleValues) {
super(
String.format(
"For parameter %s, got %s but needed one of %s",
param, value, Joiner.on(",").join(possibleValues)));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy