Package org.teavm.ast
Class TryCatchStatement
- java.lang.Object
-
- org.teavm.ast.Statement
-
- org.teavm.ast.TryCatchStatement
-
public class TryCatchStatement extends Statement
-
-
Constructor Summary
Constructors Constructor Description TryCatchStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(StatementVisitor visitor)StringgetExceptionType()IntegergetExceptionVariable()List<Statement>getHandler()List<Statement>getProtectedBody()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
-
-
-
-
Method Detail
-
getExceptionType
public String getExceptionType()
-
setExceptionType
public void setExceptionType(String exceptionType)
-
getExceptionVariable
public Integer getExceptionVariable()
-
setExceptionVariable
public void setExceptionVariable(Integer exceptionVariable)
-
isAsync
public boolean isAsync()
-
setAsync
public void setAsync(boolean async)
-
acceptVisitor
public void acceptVisitor(StatementVisitor visitor)
- Specified by:
acceptVisitorin classStatement
-
-