Skip to content

Commit deb2710

Browse files
cirrasfourls
authored andcommitted
Remove unnecessary comment in ReRaiseExceptionCheck
As with all of the checks, you're better served by reading the accompanying description metadata file.
1 parent 9b431fa commit deb2710

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

delphi-checks/src/main/java/au/com/integradev/delphi/checks/ReRaiseExceptionCheck.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,6 @@
3333
import org.sonar.plugins.communitydelphi.api.check.DelphiCheckContext;
3434
import 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")
4838
public class ReRaiseExceptionCheck extends DelphiCheck {

0 commit comments

Comments
 (0)