Groovy Documentation

org.codenarc.rule.exceptions
Class ThrowErrorRule

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

class ThrowErrorRule
extends AbstractAstVisitorRule

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

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

 
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

ThrowErrorRule

ThrowErrorRule()


 
Method Detail

getAstVisitor

AstVisitor getAstVisitor()


 

Groovy Documentation