Groovy Documentation

org.codenarc.rule.exceptions
Class CatchThrowableRule

java.lang.Object
  org.codenarc.rule.AbstractRule
      org.codenarc.rule.AbstractAstVisitorRule
          org.codenarc.rule.exceptions.CatchThrowableRule

class CatchThrowableRule
extends AbstractAstVisitorRule

Rule that checks for catching a Throwable

author:
Chris Mair
version:
$Revision: 89 $ - $Date: 2009-03-17 20:39:03 -0400 (Tue, 17 Mar 2009) $


Property Summary
String name

int priority

 
Constructor Summary
CatchThrowableRule()

 
Method Summary
AstVisitor getAstVisitor()

 
Methods inherited from class AbstractAstVisitorRule
shouldApplyThisRuleTo
 
Methods inherited from class AbstractRule
applyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getImportsSortedByLineNumber, getName, getPriority, packageNameForImport, setName, setPriority, sourceLineAndNumberForImport, sourceLineAndNumberForImport
 

Property Detail

name

String name


priority

int priority


 
Constructor Detail

CatchThrowableRule

CatchThrowableRule()


 
Method Detail

getAstVisitor

AstVisitor getAstVisitor()


 

Groovy Documentation