APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.bcel.internal.generic

public Class ATHROW

extends Instruction
implements UnconditionalBranch, ExceptionThrower, StackConsumer
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.bcel.internal.generic.StackConsumer, com.sun.org.apache.bcel.internal.generic.ExceptionThrower, com.sun.org.apache.bcel.internal.generic.UnconditionalBranch
Imports
com.sun.org.apache.bcel.internal.ExceptionConst

ATHROW - Throw exception
Stack: ..., objectref -> objectref

Field Summary

Inherited from com.sun.org.apache.bcel.internal.generic.Instruction:
EMPTY_ARRAYlengthopcode

Constructor Summary

AccessConstructor and Description
public
ATHROW()

Throw exception

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

Call corresponding visitor method(s).

public Class<?>[]
getExceptions()

Implements com.sun.org.apache.bcel.internal.generic.ExceptionThrower.getExceptions.

Returns: exceptions this instruction may cause

Inherited from com.sun.org.apache.bcel.internal.generic.Instruction:
consumeStackcopydisposedumpequalsgetComparatorgetLengthgetNamegetOpcodehashCodeinitFromFileisValidByteisValidShortproduceStackreadInstructionsetComparatorsetLengthsetOpcodetoStringtoStringtoString

Constructor Detail

ATHROWback to summary
public ATHROW()

Throw exception

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

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.

Parameters
v:Visitor

Visitor object

Annotations
@Override
getExceptionsback to summary
public Class<?>[] getExceptions()

Implements com.sun.org.apache.bcel.internal.generic.ExceptionThrower.getExceptions.

Returns:Class<?>[]

exceptions this instruction may cause

Annotations
@Override