Having a malformed GATK report is a User Error
This commit is contained in:
parent
525cf331f4
commit
c7335c9902
|
|
@ -25,6 +25,7 @@
|
|||
package org.broadinstitute.sting.gatk.report;
|
||||
|
||||
import org.broadinstitute.sting.utils.exceptions.ReviewedStingException;
|
||||
import org.broadinstitute.sting.utils.exceptions.UserException;
|
||||
|
||||
public enum GATKReportVersion {
|
||||
/**
|
||||
|
|
@ -91,6 +92,6 @@ public enum GATKReportVersion {
|
|||
if (header.startsWith("#:GATKReport.v1.1"))
|
||||
return GATKReportVersion.V1_1;
|
||||
|
||||
throw new ReviewedStingException("Unknown GATK report version in header: " + header);
|
||||
throw new UserException.BadInput("The GATK report has an unknown/unsupported version in the header: " + header);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue