Skip to content

Commit

Permalink
Do not rewrap JKindException needlessly
Browse files Browse the repository at this point in the history
  • Loading branch information
agacek committed Aug 29, 2013
1 parent be33bae commit 9f96872
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jkind-api/src/jkind/api/JKindApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ public void execute(File lustreFile, JKindResult result, IProgressMonitor monito
throw new JKindException("Existing XML file cannot be removed: " + xmlFile);
}
callJKind(lustreFile, xmlFile, result, monitor);
} catch (JKindException e) {
throw e;
} catch (Throwable t) {
throw new JKindException(result.getText(), t);
} finally {
Expand Down

0 comments on commit 9f96872

Please sign in to comment.