Package com.sun.codemodel
Class JTryBlock
- java.lang.Object
-
- com.sun.codemodel.JTryBlock
-
- All Implemented Interfaces:
JStatement
public class JTryBlock extends Object implements JStatement
Try statement with Catch and/or Finally clause
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JCatchBlock_catch(JClass exception)JBlock_finally()JBlockbody()voidstate(JFormatter f)
-
-
-
Method Detail
-
body
public JBlock body()
-
_catch
public JCatchBlock _catch(JClass exception)
-
_finally
public JBlock _finally()
-
state
public void state(JFormatter f)
- Specified by:
statein interfaceJStatement
-
-