Top Description Fields Constructors Methods
com.sun.codemodel

public Class JCatchBlock

extends Object
implements JGenerable
Class Inheritance
All Implemented Interfaces
com.sun.codemodel.JGenerable

Catch block for a try/catch/finally statement

Field Summary

Modifier and TypeField and Description
private JBlock
pack-priv JClass
private JVar

Constructor Summary

AccessConstructor and Description
pack-priv
JCatchBlock(JClass exception)

Method Summary

Modifier and TypeMethod and Description
public JBlock
body()

public void
public JVar
param(String name)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bodyback to summary
private JBlock body
exceptionback to summary
pack-priv JClass exception
varback to summary
private JVar var

Constructor Detail

JCatchBlockback to summary
pack-priv JCatchBlock(JClass exception)

Method Detail

bodyback to summary
public JBlock body()
generateback to summary
public void generate(JFormatter f)

Implements com.sun.codemodel.JGenerable.generate.

Annotations
@Override
paramback to summary
public JVar param(String name)