Package org.codehaus.janino
Class Java.CatchClause
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.CatchClause
- All Implemented Interfaces:
Java.Locatable
,Java.Scope
- Enclosing class:
Java
-
Field Summary
FieldsFields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
Constructor Summary
ConstructorsConstructorDescriptionCatchClause
(Location location, Java.FunctionDeclarator.FormalParameter caughtException, Java.Block body) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setEnclosingTryStatement
(Java.TryStatement enclosingTryStatement) Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
Field Details
-
caughtException
-
body
-
reachable
public boolean reachable
-
-
Constructor Details
-
CatchClause
public CatchClause(Location location, Java.FunctionDeclarator.FormalParameter caughtException, Java.Block body)
-
-
Method Details
-
setEnclosingTryStatement
-
getEnclosingScope
- Specified by:
getEnclosingScope
in interfaceJava.Scope
-