Checker Logic

No checker logic generated yet.

No checker code generated yet.

This rule reports exceptions thrown and caught in an enclosing try statement. This use of exceptions as a form of goto statement is discouraged, as that may hide actual exceptions, and obscures control flow, especially when debugging. To fix a violation, add the necessary validation or use an alternate control structure.

(violate rule)test case 1
(follow rule)test case 2
(follow rule)test case 3
(follow rule)test case 4
(violate rule)test case 5
(follow rule)test case 6
(follow rule)test case 7
Step 1 / 37