Java.Locatable, Java.Scopepublic static class Java.CatchClause extends Java.Located implements Java.Scope
| Modifier and Type | Field | Description |
|---|---|---|
Java.Block |
body |
Body of the CATCH clause.
|
Java.FunctionDeclarator.FormalParameter |
caughtException |
Container for the type and the name of the caught exception.
|
boolean |
reachable |
Flag for catch clause reachability analysis.
|
NOWHERE| Constructor | Description |
|---|---|
CatchClause(Location location,
Java.FunctionDeclarator.FormalParameter caughtException,
Java.Block body) |
| Modifier and Type | Method | Description |
|---|---|---|
Java.Scope |
getEnclosingScope() |
|
void |
setEnclosingTryStatement(Java.TryStatement enclosingTryStatement) |
Links this CATCH clause to the enclosing TRY statement.
|
String |
toString() |
getLocation, throwCompileExceptionpublic final Java.FunctionDeclarator.FormalParameter caughtException
public final Java.Block body
public boolean reachable
public CatchClause(Location location, Java.FunctionDeclarator.FormalParameter caughtException, Java.Block body)
public void setEnclosingTryStatement(Java.TryStatement enclosingTryStatement)
public Java.Scope getEnclosingScope()
getEnclosingScope in interface Java.ScopenullCopyright © 2001–2019. All rights reserved.