gate.yam.parse
Class ParsingProblem

java.lang.Object
  extended by gate.yam.parse.ParsingProblem

public class ParsingProblem
extends Object

Class storing data about errors and warnings during parsing.

Author:
Hamish Cunningham

Field Summary
 int beginColumn
          Where the error starts and ends.
 int beginLine
          Where the error starts and ends.
 Exception e
          Exception thrown by the parser (may be null).
 int endColumn
          Where the error starts and ends.
 int endLine
          Where the error starts and ends.
 String error
          The text of the error.
 boolean included
          Was this in an included file?
 
Constructor Summary
ParsingProblem(int beginLine, int beginColumn, int endLine, int endColumn, Exception e, String error, boolean included)
          Construction.
 
Method Summary
 String getMessage()
          A message for printing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beginLine

public int beginLine
Where the error starts and ends.


beginColumn

public int beginColumn
Where the error starts and ends.


endLine

public int endLine
Where the error starts and ends.


endColumn

public int endColumn
Where the error starts and ends.


e

public Exception e
Exception thrown by the parser (may be null).


error

public String error
The text of the error.


included

public boolean included
Was this in an included file?

Constructor Detail

ParsingProblem

public ParsingProblem(int beginLine,
                      int beginColumn,
                      int endLine,
                      int endColumn,
                      Exception e,
                      String error,
                      boolean included)
Construction.

Method Detail

getMessage

public String getMessage()
A message for printing.