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 TypeMethodDescriptionvoidthrowCompileException(String message) Throw aCompileExceptionwith the given message and this object's location.
-
Field Details
-
NOWHERE
-
-
Constructor Details
-
Located
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceJava.Locatable
-
throwCompileException
Description copied from interface:Java.LocatableThrow aCompileExceptionwith the given message and this object's location.- Specified by:
throwCompileExceptionin interfaceJava.Locatable- Parameters:
message- The message to report- Throws:
CompileException
-