no.unit.nva.model.exceptions.InvalidIsbnException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nva-datamodel-java Show documentation
Show all versions of nva-datamodel-java Show documentation
The java version of the NVA datamodel
package no.unit.nva.model.exceptions;
import java.util.List;
public class InvalidIsbnException extends Exception {
public static final String ERROR_TEMPLATE = "The provided ISBN(s) %s is/are invalid";
public InvalidIsbnException(List isbnList) {
super(String.format(ERROR_TEMPLATE, String.join(", ", isbnList)));
}
}