net.janino
Class Parser.ParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.janino.Parser.ParseException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Parser

public static class Parser.ParseException
extends java.lang.Exception

An exception that reflects an error during parsing. This exception is associated with a particular Location in the source code.

See Also:
Serialized Form

Field Summary
(package private)  Scanner.Location location
           
 
Constructor Summary
(package private) Parser.ParseException(java.lang.String message, Scanner.Location location)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the message specified at creation time, preceeded with nicely formatted location information.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

location

Scanner.Location location
Constructor Detail

Parser.ParseException

Parser.ParseException(java.lang.String message,
                      Scanner.Location location)
Method Detail

getMessage

public java.lang.String getMessage()
Returns the message specified at creation time, preceeded with nicely formatted location information.
Overrides:
getMessage in class java.lang.Throwable