Better error message for malformed input recal file.
This commit is contained in:
parent
b8cd959461
commit
ab288354e9
|
|
@ -184,6 +184,8 @@ public class ApplyRecalibration extends RodWalker<Integer, Integer> {
|
||||||
}
|
}
|
||||||
} catch ( FileNotFoundException e ) {
|
} catch ( FileNotFoundException e ) {
|
||||||
throw new UserException.CouldNotReadInputFile(RECAL_FILE, e);
|
throw new UserException.CouldNotReadInputFile(RECAL_FILE, e);
|
||||||
|
} catch ( Exception e ) {
|
||||||
|
throw new UserException.MalformedFile(RECAL_FILE, "Could not parse LOD and annotation information in input recal file. File is somehow malformed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue