Package org.teavm.ast
Class TryCatchStatement
java.lang.Object
org.teavm.ast.Statement
org.teavm.ast.TryCatchStatement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptVisitor
(StatementVisitor visitor) boolean
isAsync()
void
setAsync
(boolean async) void
setExceptionType
(String exceptionType) void
setExceptionVariable
(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:
acceptVisitor
in classStatement
-