[Java] Class CatchStatement

  • org.codehaus.groovy.ast.stmt.CatchStatement

Represents a catch (Exception var) { } statement

Authors:
James Strachan

Constructor Detail

public CatchStatement(Parameter variable, Statement code)

Method Detail

public Statement getCode()

public ClassNode getExceptionType()

public Parameter getVariable()

public void setCode(Statement code)

public void visit(GroovyCodeVisitor visitor)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/ast/stmt/CatchStatement.html