com.claritysys.jvm.builder
Class CatchBlock

java.lang.Object
  extended by com.claritysys.jvm.builder.CodeBlock
      extended by com.claritysys.jvm.builder.CatchBlock

public class CatchBlock
extends CodeBlock

A Catch block.


Field Summary
 
Fields inherited from class com.claritysys.jvm.builder.CodeBlock
code, codeBuilder, endLabel, endPC, headVar, startPC, surroundingBlock, undeclaredLocals
 
Constructor Summary
CatchBlock(CodeBuilder cb, TryBlock tryBlock, CpClass catchType)
           
 
Method Summary
 void end()
          End the block, noting the endPC and defining any labels specified to be defined at block end.
 TryBlock getTryBlock()
           
 
Methods inherited from class com.claritysys.jvm.builder.CodeBlock
addLocal, clearEndLabel, getEndLabel, getEndPC, getMethod, getStartPC, getSurroundingBlock, setCodeBuilder, setEndLabel, setSurroundingBlock, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatchBlock

public CatchBlock(CodeBuilder cb,
                  TryBlock tryBlock,
                  CpClass catchType)
Method Detail

getTryBlock

public TryBlock getTryBlock()

end

public void end()
Description copied from class: CodeBlock
End the block, noting the endPC and defining any labels specified to be defined at block end.

Overrides:
end in class CodeBlock


Copyright ? 2000-2003 Clarity Systems Group, LLC. All Rights Reserved.