Commit 8ef806e
committed
Use AvoidCatchingGenericException
as replacement for AvoidCatchingThrowable.
Also enable check for NullPointerExceptions.
We don't check for RuntimeException, Exception as we have
a couple of instances in PMD's codebase.
Also, we don't check for Error, as there is one specific
use case in PMD (error recovery during regression testing).1 parent 7c06bfb commit 8ef806e
File tree
1 file changed
+6
-5
lines changed- src/main/resources/net/sourceforge/pmd
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
291 | 296 | | |
292 | 297 | | |
293 | 298 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| |||
0 commit comments