Groovy Documentation

org.codenarc.rule.exceptions
Class CatchRuntimeExceptionRule

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

class CatchRuntimeExceptionRule
extends AbstractAstVisitorRule

Rule that checks for catching a RuntimeException

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
CatchRuntimeExceptionRule()

 
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

CatchRuntimeExceptionRule

CatchRuntimeExceptionRule()


 
Method Detail

getAstVisitor

AstVisitor getAstVisitor()


 

Groovy Documentation