org.codehaus.janino

Interface Java.Locatable

public interface Java.Locatable

This interface is implemented by objects which are associated with a location in the source code.
Method Summary
LocationgetLocation()
voidthrowParseException(String message)
Throw a ParseException with the given message and this object's location.

Method Detail

getLocation

public Location getLocation()

throwParseException

public void throwParseException(String message)
Throw a ParseException with the given message and this object's location.

Parameters: message The message to report