Merge branch 'master' of ssh://gsa2.broadinstitute.org/humgen/gsa-scr1/gsa-engineering/git/unstable
This commit is contained in:
commit
21fa5f70ca
|
|
@ -172,7 +172,7 @@ public class ValidateVariants extends RodWalker<Integer, Integer> {
|
|||
numErrors++;
|
||||
logger.warn("***** " + e.getMessage() + " *****");
|
||||
} else {
|
||||
throw new UserException.MalformedFile(file, e.getMessage());
|
||||
throw new UserException.FailsStrictValidation(file, e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -283,6 +283,12 @@ public class UserException extends ReviewedStingException {
|
|||
}
|
||||
}
|
||||
|
||||
public static class FailsStrictValidation extends UserException {
|
||||
public FailsStrictValidation(File f, String message) {
|
||||
super(String.format("File %s fails strict validation: %s", f.getAbsolutePath(), message));
|
||||
}
|
||||
}
|
||||
|
||||
public static class MalformedFile extends UserException {
|
||||
public MalformedFile(String message) {
|
||||
super(String.format("Unknown file is malformed: %s", message));
|
||||
|
|
|
|||
Loading…
Reference in New Issue