Package org.teavm.ast

Class TryCatchStatement

java.lang.Object
org.teavm.ast.Statement
org.teavm.ast.TryCatchStatement

public class TryCatchStatement extends Statement
  • Constructor Details

    • TryCatchStatement

      public TryCatchStatement()
  • Method Details

    • getProtectedBody

      public List<Statement> getProtectedBody()
    • getHandler

      public List<Statement> getHandler()
    • 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:
      acceptVisitor in class Statement