Package org.codehaus.janino
Class Java.Located
java.lang.Object
org.codehaus.janino.Java.Located
- All Implemented Interfaces:
Java.Locatable
- Direct Known Subclasses:
Java.AbstractTypeBodyDeclaration
,Java.ArrayInitializer
,Java.Atom
,Java.CatchClause
,Java.CompilationUnit.ImportDeclaration
,Java.FunctionDeclarator.FormalParameter
,Java.PackageDeclaration
,Java.Statement
,Java.SwitchStatement.SwitchBlockStatementGroup
,Java.VariableDeclarator
- Enclosing class:
Java
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
throwCompileException
(String message) Throw aCompileException
with the given message and this object's location.
-
Field Details
-
NOWHERE
-
-
Constructor Details
-
Located
-
-
Method Details
-
getLocation
- Specified by:
getLocation
in interfaceJava.Locatable
-
throwCompileException
Description copied from interface:Java.Locatable
Throw aCompileException
with the given message and this object's location.- Specified by:
throwCompileException
in interfaceJava.Locatable
- Parameters:
message
- The message to report- Throws:
CompileException
-