Groovy Documentation

org.codenarc.rule.exceptions
Class ThrowThrowableRule

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

class ThrowThrowableRule
extends AbstractAstVisitorRule

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

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

 
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

ThrowThrowableRule

ThrowThrowableRule()


 
Method Detail

getAstVisitor

AstVisitor getAstVisitor()


 

Groovy Documentation