Groovy Documentation

java.gate.yam.parse
Class ParsingProblem

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

class ParsingProblem

Class storing data about errors and warnings during parsing.

author:
Hamish Cunningham


Field Summary
int beginColumn

int beginLine

Where the error starts and ends.

Exception e

Exception thrown by the parser (may be null).

int endColumn

int endLine

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 Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Field Detail

beginColumn

int beginColumn


beginLine

int beginLine
Where the error starts and ends.


e

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


endColumn

int endColumn


endLine

int endLine


error

String error
The text of the error.


included

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.


 

Groovy Documentation