Package org.teavm.ast
Class TryCatchStatement
java.lang.Object
org.teavm.ast.Statement
org.teavm.ast.TryCatchStatement
-
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, cond, cond, empty, exitFunction, initClass, raiseException
-
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
-