AstVisitor implementation that checks for catching an exception type specified in the constructor
This is an internal class and its API is subject to change.| Constructor and description |
|---|
CommonCatchAstVisitor
(String exceptionClassNameWithoutPackage)Construct a new instance, specifying the exception class name |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
visitCatchStatement(org.codehaus.groovy.ast.stmt.CatchStatement catchStatement) |
Construct a new instance, specifying the exception class name
exceptionClassNameWithoutPackage - - the name of the exception class to check for, without the package