Package org.teavm.ast
Class TryCatchStatement
java.lang.Object
org.teavm.ast.Statement
org.teavm.ast.TryCatchStatement
-
Nested Class Summary
Nested classes/interfaces inherited from class org.teavm.ast.Statement
Statement.TryCatchStatementBuilder, Statement.TryCatchStatementBuilder2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptVisitor(StatementVisitor visitor) booleanisAsync()voidsetAsync(boolean async) voidsetExceptionType(String exceptionType) voidsetExceptionVariable(Integer exceptionVariable) Methods inherited from class org.teavm.ast.Statement
assign, block, cond, cond, doTry, empty, exitBlock, exitFunction, exitFunction, initClass, loopWhile, raiseException, sequence, statementExpr, switchClause, switchClause, switchStatement
-
Constructor Details
-
TryCatchStatement
public TryCatchStatement()
-
-
Method Details
-
getProtectedBody
-
getHandler
-
getExceptionType
-
setExceptionType
-
getExceptionVariable
-
setExceptionVariable
-
isAsync
public boolean isAsync() -
setAsync
public void setAsync(boolean async) -
acceptVisitor
- Specified by:
acceptVisitorin classStatement
-