org.inxar.jenesis
Interface Catch

All Superinterfaces:
Block, Codeable

public interface Catch
extends Block

Statement subinterface for the catch construct in a try.


Method Summary
 FormalParameter getThrowable()
          Gets the formal parameter for this catch clause.
 void setThrowable(Type type, java.lang.String name)
          Sets the formal parameter for this catch clause.
 
Methods inherited from interface org.inxar.jenesis.Block
getStatements, newBreak, newContinue, newDoWhile, newEmpty, newFor, newIf, newLet, newLocalBlock, newLocalClass, newReturn, newStmt, newSwitch, newSynchronized, newThrow, newTry, newWhile
 
Methods inherited from interface org.inxar.jenesis.Codeable
getComment, setComment, toCode, vm
 

Method Detail

setThrowable

public void setThrowable(Type type,
                         java.lang.String name)
Sets the formal parameter for this catch clause.

getThrowable

public FormalParameter getThrowable()
Gets the formal parameter for this catch clause.