PMD version 6.13.0.
Rule: PreserveStackTrace
try { ... } catch (IOException exception) { if (exception.getMessage().contains("foobar")) { throw new SomeOtherUserDefinedException("Error", exception); } throw exception; }
This code produces a PreserveStackTrace
error but it shouldn't according to the documentation of PreserveStackTrace
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4