de.fub.bytecode.generic
Interface ExceptionThrower

All Superinterfaces:
ExceptionConstants
All Known Implementing Classes:
ArrayInstruction, ATHROW, GETSTATIC, InvokeInstruction, IREM, LDC, LDIV, LREM, NEWARRAY, PUTSTATIC, ReturnInstruction, CHECKCAST, IDIV, GETFIELD, INSTANCEOF, MULTIANEWARRAY, MONITOREXIT, ANEWARRAY, PUTFIELD, MONITORENTER, NEW, ARRAYLENGTH

public interface ExceptionThrower
extends ExceptionConstants

Denote an instruction that may throw a run-time or a linking exception (or both) during execution. This is not quite the truth as such; because all instructions may throw an java.lang.VirtualMachineError. These exceptions are omitted. The Lava Language Specification specifies exactly which RUN-TIME and which LINKING exceptions each instruction may throw which is reflected by the implementers. Due to the structure of the JVM specification, it may be possible that an Instruction implementing this interface returns a Class[] of size 0. Please note that we speak of an "exception" here when we mean any "Throwable" object; so this term is equally used for "Exception" and "Error" objects.

Version:
$Id: ExceptionThrower.java,v 1.1 1999/09/21 10:00:32 bokowski Exp $
Author:
Enver Haase

Fields inherited from interface de.fub.bytecode.ExceptionConstants
ABSTRACT_METHOD_ERROR, ARITHMETIC_EXCEPTION, ARRAY_INDEX_OUT_OF_BOUNDS_EXCEPTION, CLASS_CAST_EXCEPTION, CLASS_CIRCULARITY_ERROR, CLASS_FORMAT_ERROR, EXCEPTION_IN_INITIALIZER_ERROR, EXCS_ARRAY_EXCEPTION, EXCS_CLASS_AND_INTERFACE_RESOLUTION, EXCS_FIELD_AND_METHOD_RESOLUTION, EXCS_INTERFACE_METHOD_RESOLUTION, EXCS_STRING_RESOLUTION, ILLEGAL_ACCESS_ERROR, ILLEGAL_MONITOR_STATE, INCOMPATIBLE_CLASS_CHANGE_ERROR, INSTANTIATION_ERROR, LINKING_EXCEPTION, NEGATIVE_ARRAY_SIZE_EXCEPTION, NO_CLASS_DEF_FOUND_ERROR, NO_SUCH_FIELD_ERROR, NO_SUCH_METHOD_ERROR, NULL_POINTER_EXCEPTION, RUNTIME_EXCEPTION, THROWABLE, UNSATISFIED_LINK_ERROR, VERIFY_ERROR
 
Method Summary
 java.lang.Class[] getExceptions()
           
 

Method Detail

getExceptions

public java.lang.Class[] getExceptions()