00001 package de.fub.bytecode.generic; 00002 00003 import de.fub.bytecode.ExceptionConstants; 00004 00005 /** 00006 * Denote an instruction that may throw a run-time or a linking 00007 * exception (or both) during execution. This is not quite the truth 00008 * as such; because all instructions may throw an 00009 * java.lang.VirtualMachineError. These exceptions are omitted. 00010 * 00011 * The Lava Language Specification specifies exactly which 00012 * <i>RUN-TIME</i> and which <i>LINKING</i> exceptions each 00013 * instruction may throw which is reflected by the implementers. Due 00014 * to the structure of the JVM specification, it may be possible that 00015 * an Instruction implementing this interface returns a Class[] of 00016 * size 0. 00017 * 00018 * Please note that we speak of an "exception" here when we mean any 00019 * "Throwable" object; so this term is equally used for "Exception" 00020 * and "Error" objects. 00021 * 00022 * @version $Id: ExceptionThrower.java,v 1.1.1.1 2002/01/24 03:44:04 pserver Exp $ 00023 * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase">Enver Haase</A> 00024 */ 00025 public interface ExceptionThrower extends ExceptionConstants { 00026 public java.lang.Class[] getExceptions(); 00027 }