|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.squawk.ExceptionHandler
public final class ExceptionHandler
An instance of ExceptionHandler
describes a single exception
handler in a method. It can be used to represent an exception handler in
a JVM or Squawk method.
Constructor Summary | |
---|---|
ExceptionHandler(int start,
int end,
int handler,
Klass klass)
Create an exception handler. |
Method Summary | |
---|---|
int |
getEnd()
Gets the address at which this exception handler becomes deactive. |
int |
getHandler()
Gets the address of the entry to this exception handler. |
Klass |
getKlass()
Gets the subclass of Throwable caught by this handler. |
int |
getStart()
Gets the address at which this exception handler becomes active. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionHandler(int start, int end, int handler, Klass klass)
start
- the start of code range protected by the handlerend
- the end of code range protected by the handlerhandler
- the handler's entry pointklass
- the Throwable
subclass caught by the handler.Method Detail |
---|
public int getStart()
public int getEnd()
public int getHandler()
public Klass getKlass()
Throwable
caught by this handler.
Throwable
caught by this handler
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |