File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
delphi-checks/src/main/java/au/com/integradev/delphi/checks Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 3333import org .sonar .plugins .communitydelphi .api .check .DelphiCheckContext ;
3434import org .sonarsource .analyzer .commons .annotations .DeprecatedRuleKey ;
3535
36- /**
37- * This rule looks for exception blocks where the caught exception is explicitly re-raised. This is
38- * a Bad Thing™ because the exception will be freed at the end of the handler, causing tricky access
39- * errors
40- *
41- * @see <a href="https://bit.ly/2AQp1GW">On Delphi Exception raising, re-raising and try-except
42- * blocks</a>
43- * @see <a href="http://delphi.org/2017/06/really-bad-exception-abuse/">Exceptionally Bad Exception
44- * Abuse</a>
45- */
4636@ DeprecatedRuleKey (ruleKey = "ReRaiseExceptionRule" , repositoryKey = "delph" )
4737@ Rule (key = "ReRaiseException" )
4838public class ReRaiseExceptionCheck extends DelphiCheck {
You can’t perform that action at this time.
0 commit comments