org.eclipse.gmt.modisco.java
Interface CatchClause

All Superinterfaces:
ASTNode, Statement

public interface CatchClause
extends Statement

A representation of the model object 'Catch Clause'.

The following features are supported:

See Also:
JavaPackage.getCatchClause()
Generated:
Model:

Method Summary
 Block getBody()
          Returns the value of the 'Body' containment reference.
 SingleVariableDeclaration getException()
          Returns the value of the 'Exception' containment reference.
 void setBody(Block value)
          Sets the value of the 'Body' containment reference.
 void setException(SingleVariableDeclaration value)
          Sets the value of the 'Exception' containment reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getException

SingleVariableDeclaration getException()
Returns the value of the 'Exception' containment reference. It is bidirectional and its opposite is 'Catch Clause'.

If the meaning of the 'Exception' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Exception' containment reference.
See Also:
setException(SingleVariableDeclaration), JavaPackage.getCatchClause_Exception(), SingleVariableDeclaration.getCatchClause()
Generated:
Model:
opposite="catchClause" containment="true" required="true" ordered="false"

setException

void setException(SingleVariableDeclaration value)
Sets the value of the 'Exception' containment reference.

Parameters:
value - the new value of the 'Exception' containment reference.
See Also:
getException()
Generated:

getBody

Block getBody()
Returns the value of the 'Body' containment reference.

If the meaning of the 'Body' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(Block), JavaPackage.getCatchClause_Body()
Generated:
Model:
containment="true" required="true" ordered="false"

setBody

void setBody(Block value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()
Generated: