Don't catch a User Error and re-throw as a Reviewed Exception. That makes Eric unhappy.

This commit is contained in:
Eric Banks 2012-11-13 11:52:47 -05:00
parent 66cbaaee31
commit 525cf331f4
1 changed files with 0 additions and 2 deletions

View File

@ -198,8 +198,6 @@ public class VariantContextWriterStorage implements Storage<VariantContextWriter
source.close();
file.delete(); // this should be last to aid in debugging when the process fails
} catch (UserException e) {
throw new ReviewedStingException("BUG: intermediate file " + file + " is malformed, got error while reading", e);
} catch (IOException e) {
throw new UserException.CouldNotReadInputFile(file, "Error reading file in VCFWriterStorage: ", e);
}