com.borland.jbuilder.jot
Interface JotCatch

All Superinterfaces:
JotMarker, JotSourceElement, JotStatement

public interface JotCatch
extends JotStatement

This interface represents the catch block of a try statement. See section 14.18 in the Java Language Specification for more information.


Method Summary
 JotCodeBlock getCodeBlock()
          Returns the body of the catch block.
 JotParameterDeclaration getException()
          Returns the exception declaration.
 
Methods inherited from interface com.borland.jbuilder.jot.JotStatement
getStatements
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 

Method Detail

getException

public JotParameterDeclaration getException()
Returns the exception declaration.

getCodeBlock

public JotCodeBlock getCodeBlock()
Returns the body of the catch block.
Specified by:
getCodeBlock in interface JotStatement