package gov.loc.repository.bagit.exceptions;
import org.slf4j.helpers.MessageFormatter;
/**
* If the version string in the bagit.txt file was not in the form <MAJOR>.<MINOR>
*/
public class UnparsableVersionException extends Exception {
private static final long serialVersionUID = 1L;
public UnparsableVersionException(final String message, final String version){
super(MessageFormatter.format(message, version).getMessage());
}
}