Top Description Fields Constructors Methods
com.sun.codemodel

public Class JTryBlock

extends Object
implements JStatement
Class Inheritance
All Implemented Interfaces
com.sun.codemodel.JStatement
Imports
java.util.ArrayList, .List

Try statement with Catch and/or Finally clause

Field Summary

Modifier and TypeField and Description
private JBlock
private JBlock
private List<JCatchBlock>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public JCatchBlock
_catch(JClass exception)

public JBlock
public JBlock
body()

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_finallyback to summary
private JBlock _finally
bodyback to summary
private JBlock body
catchesback to summary
private List<JCatchBlock> catches

Constructor Detail

JTryBlockback to summary
pack-priv JTryBlock()

Method Detail

_catchback to summary
public JCatchBlock _catch(JClass exception)
_finallyback to summary
public JBlock _finally()
bodyback to summary
public JBlock body()
stateback to summary
public void state(JFormatter f)

Implements com.sun.codemodel.JStatement.state.

Annotations
@Override