Missing/malformed GATK report files are user errors
This commit is contained in:
parent
cc01f844d4
commit
e3f89fb054
|
|
@ -89,9 +89,9 @@ public class GATKReport {
|
|||
reader = new BufferedReader(new FileReader(file));
|
||||
reportHeader = reader.readLine();
|
||||
} catch (FileNotFoundException e) {
|
||||
throw new ReviewedStingException("Could not open file : " + file);
|
||||
throw new UserException.CouldNotReadInputFile(file, "it does not exist");
|
||||
} catch (IOException e) {
|
||||
throw new ReviewedStingException("Could not read file : " + file);
|
||||
throw new UserException.CouldNotReadInputFile(file, e);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue