|
2010 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,
Class 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. |
Class |
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, Class 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 getEnd()
public int getHandler()
public Class getKlass()
Throwable
caught by this handler.
Throwable
caught by this handlerpublic int getStart()
|
2010 FRC Java API |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |