FileDocCategorySizeDatePackage
ATHROW.javaAPI DocJava SE 5 API3793Fri Aug 26 14:55:18 BST 2005com.sun.org.apache.bcel.internal.generic

ATHROW

public class ATHROW extends Instruction implements ExceptionThrower, UnconditionalBranch
ATHROW - Throw exception
Stack: ..., objectref -> objectref
version
$Id: ATHROW.java,v 1.1.1.1 2001/10/29 20:00:05 jvanzyl Exp $
author
M. Dahm

Fields Summary
Constructors Summary
public ATHROW()
Throw exception

    super(com.sun.org.apache.bcel.internal.Constants.ATHROW, (short)1);
  
Methods Summary
public voidaccept(com.sun.org.apache.bcel.internal.generic.Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

param
v Visitor object

    v.visitUnconditionalBranch(this);
    v.visitExceptionThrower(this);
    v.visitATHROW(this);
  
public java.lang.Class[]getExceptions()

return
exceptions this instruction may cause

    return new Class[] { com.sun.org.apache.bcel.internal.ExceptionConstants.THROWABLE };