com.sun.codemodel
Class JTryBlock

java.lang.Object
  extended by com.sun.codemodel.JTryBlock
All Implemented Interfaces:
JStatement

public class JTryBlock
extends java.lang.Object
implements JStatement

Try statement with Catch and/or Finally clause


Method Summary
 JCatchBlock _catch(JClass exception)
           
 JBlock _finally()
           
 JBlock body()
           
 void state(JFormatter f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

body

public JBlock body()

_catch

public JCatchBlock _catch(JClass exception)

_finally

public JBlock _finally()

state

public void state(JFormatter f)
Specified by:
state in interface JStatement