Top Description Fields Constructors Methods
org.codehaus.groovy.ast.stmt

public Class CatchStatement

extends Statement
Class Inheritance
Imports
org.codehaus.groovy.ast.ClassNode, .GroovyCodeVisitor, .Parameter

Represents a catch (Exception var) { } statement

Field Summary

Modifier and TypeField and Description
private Statement
private Parameter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Statement
public ClassNode
public Parameter
public void
public void
Inherited from org.codehaus.groovy.ast.stmt.Statement:
addStatementLabelcopyStatementLabelsgetStatementLabelgetStatementLabelsisEmptysetStatementLabel

Field Detail

codeback to summary
private Statement code
variableback to summary
private Parameter variable

Constructor Detail

CatchStatementback to summary
public CatchStatement(Parameter variable, Statement code)

Method Detail

getCodeback to summary
public Statement getCode()
getExceptionTypeback to summary
public ClassNode getExceptionType()
getVariableback to summary
public Parameter getVariable()
setCodeback to summary
public void setCode(Statement code)
visitback to summary
public void visit(GroovyCodeVisitor visitor)

Overrides org.codehaus.groovy.ast.ASTNode.visit.