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