1e00b85411
When generating a try-catch block, the eclipse default is something like this: ``` try { something(); } catch (Exception e) { // TODO: auto-generated stub e.printStackTrace(); } which is terrible, so the ES eclipse changes this to rethrow a RuntimeException instead. ``` try { something(); } catch (Exception e) { throw new RuntimeException(); } ``` Unfortunately, this loses the original exception entirely, instead it should be: ``` try { something(); } catch (Exception e) { throw new RuntimeException(e); } ``` |
||
---|---|---|
.. | ||
src/main | ||
build.gradle |