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.
 
 
 
 
 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf | 
 
EMPTY_ARRAY
static final SourceCatchClause[] EMPTY_ARRAY
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).
 
 
Copyright © 1997, 2013, Oracle. All rights reserved.