Class ThrowStmt


public class ThrowStmt extends JumpStmt
ThrowStmt represents the athrow opcode which throws an exception or error.
  • Constructor Details

    • ThrowStmt

      public ThrowStmt(Expr expr)
      Constructor.
      Parameters:
      expr - The exception to be thrown.
  • Method Details

    • expr

      public Expr expr()
    • visitForceChildren

      public void visitForceChildren(TreeVisitor visitor)
      Description copied from class: Node
      Visit the children of this node. Not all Nodes will have children to visit.
      Specified by:
      visitForceChildren in class Node
    • visit

      public void visit(TreeVisitor visitor)
      Specified by:
      visit in class Node
    • clone

      public Object clone()
      Specified by:
      clone in class Stmt