public class Catchtable extends Object
| Constructor and Description |
|---|
Catchtable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(CatchEntry entry)
add an entry to the catch table
|
void |
addEntry(Label start,
Label end,
Label handler,
CP cat)
add an entry to the catch table
|
public void addEntry(CatchEntry entry)
public void addEntry(Label start, Label end, Label handler, CP cat)
start - Label marking the beginning of the area
where the catch table is active.end - Label marking the end of the area where the
table is active.handler - Label marking the entrypoint into the
exception handling routine.cat - (usually a classCP) informing the VM to direct
any exceptions of this (or its subclasses) to the handler.Copyright © 2019 Sable. All rights reserved.