Skip to content

Commit

Permalink
Remove stack trace dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay authored and egonw committed Jun 4, 2022
1 parent 618184a commit 8af9ebe
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -108,8 +108,7 @@ public void write(IChemObject object) throws CDKException {
try {
writeMolecule((IAtomContainer) object);
} catch (Exception ex) {
ex.printStackTrace();
throw new CDKException("Error while writing CDK OWL file: " + ex.getMessage(), ex);
throw new CDKException("Error while writing CDK OWL file: " + ex.getMessage(), ex);
}
} else {
throw new CDKException("CDKOWLWriter only supports output of IAtomContainer classes.");
Expand Down

0 comments on commit 8af9ebe

Please sign in to comment.