com.sun.codemodel
Class JCatchBlock

java.lang.Object
  extended by com.sun.codemodel.JCatchBlock
All Implemented Interfaces:
JGenerable

public class JCatchBlock
extends Object
implements JGenerable

Catch block for a try/catch/finally statement


Method Summary
 JBlock body()
           
 void generate(JFormatter f)
           
 JVar param(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

param

public JVar param(String name)

body

public JBlock body()

generate

public void generate(JFormatter f)
Specified by:
generate in interface JGenerable


Copyright © 2005-2012 Oracle. All Rights Reserved.