Groovy Documentation

groovy.org.codenarc.rule.exceptions
[Groovy] Class SwallowThreadDeathRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.exceptions.SwallowThreadDeathRule

class SwallowThreadDeathRule
extends AbstractAstVisitorRule

Detects code that catches java.lang.ThreadDeath without re-throwing it. If ThreadDeath is caught by a method, it is important that it be rethrown so that the thread actually dies.

Authors:
Rob Fletcher
Klaus Baumecker


Property Summary
Class astVisitorClass

String name

int priority

 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 

Groovy Documentation