Skip to content

Commit

Permalink
remove double catch to be java 1.5 compliant
Browse files Browse the repository at this point in the history
=> pb compil

=> see [isandlaTech/cohorte-utilities] Cleanup pom.xml and build
mechanism (#42)
  • Loading branch information
ogattaz committed Mar 25, 2020
1 parent 2bf27b3 commit dc6bd32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private StringBuilder dumpOnePathInSB(final StringBuilder aSB, final String aLab
try {
Method wMethod = getClass().getMethod(aMethodName);
wValue = String.valueOf(wMethod.invoke(this));
} catch (Exception | Error e) {
} catch (Exception e) {
Throwable wThrowable = (e instanceof InvocationTargetException)? ((InvocationTargetException)e).getTargetException() : e;
wValue= CXException.eUserMessagesInString(wThrowable);
}
Expand Down

0 comments on commit dc6bd32

Please sign in to comment.