diff --git a/java/src/org/broadinstitute/sting/gatk/walkers/variantrecalibration/Tranche.java b/java/src/org/broadinstitute/sting/gatk/walkers/variantrecalibration/Tranche.java index b4ffbfeff..1be2eb1d0 100755 --- a/java/src/org/broadinstitute/sting/gatk/walkers/variantrecalibration/Tranche.java +++ b/java/src/org/broadinstitute/sting/gatk/walkers/variantrecalibration/Tranche.java @@ -120,7 +120,7 @@ public class Tranche implements Comparable { if ( bindings.containsKey(key) ) return Double.valueOf(bindings.get(key)); else if ( required ) { - throw new UserException("Malformed tranches file. Missing required key " + key); + throw new UserException.MalformedFile("Malformed tranches file. Missing required key " + key); } else return -1; @@ -130,7 +130,7 @@ public class Tranche implements Comparable { if ( bindings.containsKey(key) ) return Integer.valueOf(bindings.get(key)); else if ( required ) { - throw new UserException("Malformed tranches file. Missing required key " + key); + throw new UserException.MalformedFile("Malformed tranches file. Missing required key " + key); } else return -1; @@ -177,4 +177,4 @@ public class Tranche implements Comparable { throw new UserException.CouldNotReadInputFile(f, e); } } -} \ No newline at end of file +}