org.graffiti.plugins.ios.gml.gmlReader.gml
Class GmlSyntaxError

java.lang.Object
  extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
      extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParseError
          extended by org.graffiti.plugins.ios.gml.gmlReader.gml.GmlSyntaxError

public class GmlSyntaxError
extends GmlParseError

Represents a syntax error detected by the parser.

Author:
ruediger

Constructor Summary
GmlSyntaxError(int line, Object symbol)
          Constructs a new GmlSyntaxError.
 
Method Summary
 String toString()
          Returns a String representation of the syntax error.
 
Methods inherited from class org.graffiti.plugins.ios.gml.gmlReader.gml.GmlParsableItem
getLine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GmlSyntaxError

public GmlSyntaxError(int line,
                      Object symbol)
Constructs a new GmlSyntaxError.

Parameters:
line - the line the syntax error was detected at.
symbol - the symbol that caused the syntax error.
Method Detail

toString

public String toString()
Returns a String representation of the syntax error.

Overrides:
toString in class GmlParseError
Returns:
a String representation of the syntax error.


Generated at 2012-05-30 11:01:25 PM CEST