public class TryCatchStatement extends Statement
| Constructor and Description |
|---|
TryCatchStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(StatementVisitor visitor) |
String |
getExceptionType() |
Integer |
getExceptionVariable() |
List<Statement> |
getHandler() |
List<Statement> |
getProtectedBody() |
boolean |
isAsync() |
void |
setAsync(boolean async) |
void |
setExceptionType(String exceptionType) |
void |
setExceptionVariable(Integer exceptionVariable) |
assign, cond, cond, empty, exitFunction, initClass, raiseExceptionpublic String getExceptionType()
public void setExceptionType(String exceptionType)
public Integer getExceptionVariable()
public void setExceptionVariable(Integer exceptionVariable)
public boolean isAsync()
public void setAsync(boolean async)
public void acceptVisitor(StatementVisitor visitor)
acceptVisitor in class StatementCopyright © 2015. All rights reserved.