Groovy Documentation

org.codenarc.rule.exceptions
Class ThrowExceptionRule

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

class ThrowExceptionRule
extends AbstractAstVisitorRule

Rule that checks for throwing an instance of java.lang.Exception

author:
Chris Mair
version:
$Revision: 103 $ - $Date: 2009-03-28 17:32:10 -0400 (Sat, 28 Mar 2009) $


Property Summary
String name

int priority

 
Constructor Summary
ThrowExceptionRule()

 
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

ThrowExceptionRule

ThrowExceptionRule()


 
Method Detail

getAstVisitor

AstVisitor getAstVisitor()


 

Groovy Documentation