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