public class ExceptionEntry extends Object
Constructor and Description |
---|
ExceptionEntry(DataInput dataInput,
Constant[] constantPool)
constructs a new ExceptionEntry
|
Modifier and Type | Method and Description |
---|---|
Class |
getCatchType() |
int |
getEndByte() |
int |
getHandler() |
int |
getStartByte() |
static ExceptionEntry |
resolveExceptionEntry(ExceptionEntry[] entries,
Class exceptionType,
int bytePosition)
Resolves the exceptionEntry for this particular exceptionType
|
public ExceptionEntry(DataInput dataInput, Constant[] constantPool) throws IOException
dataInput
- the input to readconstantPool
- the constantPool of this entryIOException
- on IOFailurepublic Class getCatchType()
public int getEndByte()
public int getHandler()
public int getStartByte()
public static ExceptionEntry resolveExceptionEntry(ExceptionEntry[] entries, Class exceptionType, int bytePosition)
entries
- the entries to choose fromexceptionType
- the exception typeCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.