athrow


Description: throw an exception

Stack

Before After
object ref       

Example

Java---------------------

throw new java.io.IOException();

Jasm-------------------

new java/io/IOException      ; create object
dup
invokespecial java/io/IOException/()V      ;initialize object
athrow      ; throw it

Exceptions

NullPointerException if object ref is null

Back to
Opcodes indexed by function.
Opcodes indexed by number.


back to opcode reference.