org.opencb.biodata.models.variant.exceptions.NonStandardCompliantSampleField Maven / Gradle / Ivy
The newest version!
/*
*
*
*/
package org.opencb.biodata.models.variant.exceptions;
/**
*
* @author Cristina Yenyxe Gonzalez Garcia <[email protected]>
*/
public class NonStandardCompliantSampleField extends Exception {
/**
* Constructs an instance of NonStandardCompliantSampleField
* for a field, and with the specified detail message.
*
* @param field non-compliant field
* @param value non-compliant value
* @param msg the detail message.
*/
public NonStandardCompliantSampleField(String field, String value, String msg) {
super(String.format("Field %s=%s is non-compliant with the VCF specification: %s", field, value, msg));
}
}