Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.parser.java.v2.model.statement
Interface SourceCatchClause

All Superinterfaces:
Element, SourceBlockElement, SourceCompoundStatement, SourceElement, SourceStatement

public interface SourceCatchClause
extends SourceCompoundStatement

A catch clause of a try statement. JLS3 14.20.


Field Summary
static SourceCatchClause[] EMPTY_ARRAY
           

 

Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT

 

Method Summary
 SourceVariable getCatchVariable()
          A catch clause declares one variable, the caught exception.
 SourceTryStatement getOwningTry()
           

 

Methods inherited from interface oracle.javatools.parser.java.v2.model.statement.SourceCompoundStatement
getControlExpression, getEndClause, getPrimaryClause

 

Methods inherited from interface oracle.javatools.parser.java.v2.model.statement.SourceStatement
getStatementLabels, getStatementToken

 

Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, hasErrors, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf

 

Field Detail

EMPTY_ARRAY

static final SourceCatchClause[] EMPTY_ARRAY

Method Detail

getCatchVariable

SourceVariable getCatchVariable()
A catch clause declares one variable, the caught exception.
Returns:
A SourceCatchParameter or null if the parameter is missing

getOwningTry

SourceTryStatement getOwningTry()
Returns:
The owning try statement. Null if none (i.e. deformed tree).

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.