Web Site

org.codehaus.janino
Class Scanner.LocatedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.janino.Scanner.LocatedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CompileException, Parser.ParseException, Scanner.ScanException
Enclosing class:
Scanner

public static class Scanner.LocatedException
extends Exception

See Also:
Serialized Form

Method Summary
 Location getLocation()
          Returns the Location object specified at construction time (may be null).
 String getMessage()
          Returns the message specified at creation time, preceeded with nicely formatted location information (if any).
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMessage

public String getMessage()
Returns the message specified at creation time, preceeded with nicely formatted location information (if any).


getLocation

public Location getLocation()
Returns the Location object specified at construction time (may be null).


Web Site