jas
Class Catchtable

java.lang.Object
  extended byjas.Catchtable

public class Catchtable
extends Object


Constructor Summary
Catchtable()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Catchtable

public Catchtable()
Method Detail

addEntry

public void addEntry(CatchEntry entry)
add an entry to the catch table


addEntry

public void addEntry(Label start,
                     Label end,
                     Label handler,
                     CP cat)
add an entry to the catch table

Parameters:
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 © 2004 Jonathan Meyer, USA All rights reserved.