public static class Java.CatchClause extends Java.Located implements Java.Scope
| Modifier and Type | Field and Description |
|---|---|
Java.Block |
body |
Java.FunctionDeclarator.FormalParameter |
caughtException |
boolean |
reachable |
NOWHERE| Constructor and Description |
|---|
CatchClause(Location location,
Java.FunctionDeclarator.FormalParameter caughtException,
Java.Block body) |
| Modifier and Type | Method and Description |
|---|---|
Java.Scope |
getEnclosingScope() |
void |
setEnclosingTryStatement(Java.TryStatement enclosingTryStatement) |
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.Scope