public class ExceptionHandler
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandler(MethodInfo parent,
int start,
int end,
int handlerStart,
java.lang.String catchType)
Instantiates a new
ExceptionHandler with the given information. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatchType() |
int |
getEndIndex() |
int |
getHandlerStartIndex() |
MethodInfo |
getParent() |
int |
getStartIndex() |
public ExceptionHandler(MethodInfo parent, int start, int end, int handlerStart, java.lang.String catchType)
ExceptionHandler
with the given information.parent
- The parent MethodInfo
start
- The index within the method's code array at which this
ExceptionHandler
becomes activeend
- The index within the method's code array at which this
ExceptionHandler
endshandlerStart
- The index within the method's code array at which
this ExceptionHandler
beginscatchType
- The class representing the exception this
ExceptionHandler
is designated to catchpublic MethodInfo getParent()
public int getStartIndex()
public int getEndIndex()
public int getHandlerStartIndex()
public java.lang.String getCatchType()