jreversepro.reflect.method
Class JCatchBlock

java.lang.Object
  extended by jreversepro.reflect.method.JBlockObject
      extended by jreversepro.reflect.method.JCatchBlock

public class JCatchBlock
extends JBlockObject

Author:
pazandak@objs.com -- Copyright 2002.

Field Summary
 
Fields inherited from class jreversepro.reflect.method.JBlockObject
indent
 
Constructor Summary
JCatchBlock(JBranchEntry _jbe, java.lang.String _cls, java.lang.String _var)
          Creates a new instance of JCatchBlock
 
Method Summary
protected  java.lang.String getEntryCode()
          Outputs any starting code to open the block
protected  java.lang.String getExitCode()
          Outputs any terminating code to close the block
 
Methods inherited from class jreversepro.reflect.method.JBlockObject
addBlock, addStatement, getEntryLineOfCode, getExitLineOfCode, getFlattenedCode, isSimpleBlock, removeLastBlock, removeLastStatement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCatchBlock

public JCatchBlock(JBranchEntry _jbe,
                   java.lang.String _cls,
                   java.lang.String _var)
Creates a new instance of JCatchBlock

Parameters:
_cls - The class name for the exception
_var - The variable name for the exception instance
Method Detail

getEntryCode

protected java.lang.String getEntryCode()
Outputs any starting code to open the block

Overrides:
getEntryCode in class JBlockObject

getExitCode

protected java.lang.String getExitCode()
Outputs any terminating code to close the block

Overrides:
getExitCode in class JBlockObject


Submit Feedback to akkumar@users.sourceforge.net