jas
Class Catchtable

java.lang.Object
  extended by jas.Catchtable

public class Catchtable
extends Object


Constructor Summary
Catchtable()
           
 
Method Summary
 void addEntry(CatchEntry entry)
          add an entry to the catch table
 void addEntry(int start, int end, int handler, CP cat)
           
 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, notifyAll, notify, 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.

addEntry

public void addEntry(int start,
                     int end,
                     int handler,
                     CP cat)


Copyright © 2006 Jonathan Meyer, USA All rights reserved.