Class ThrowStmt


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

      • ThrowStmt

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

      • 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
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class Stmt