org.eclipse.mtl.parser
Class MTLParserProblem

java.lang.Object
  extended by org.eclipse.mtl.parser.MTLParserProblem

public class MTLParserProblem
extends java.lang.Object

One syntax problem of the parsing.


Constructor Summary
MTLParserProblem(java.lang.String message, int line, int posBegin, int posEnd)
          Constructor.
 
Method Summary
 int getLine()
          Gets the line of the problem in the file.
 java.lang.String getMessage()
          Gets the message.
 int getPosBegin()
          Gets the beginning index of the problem in the file.
 int getPosEnd()
          Gets the ending index of the problem in the file.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MTLParserProblem

public MTLParserProblem(java.lang.String message,
                        int line,
                        int posBegin,
                        int posEnd)
Constructor.

Parameters:
message - is the message
line - is the line of the problem in the file
posBegin - is the beginning index of the problem in the file
posEnd - is the ending index of the problem in the file
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message.

Returns:
the message

getLine

public int getLine()
Gets the line of the problem in the file.

Returns:
the line of the problem in the file

getPosBegin

public int getPosBegin()
Gets the beginning index of the problem in the file.

Returns:
the beginning index of the problem in the file

getPosEnd

public int getPosEnd()
Gets the ending index of the problem in the file.

Returns:
the ending index of the problem in the file

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

Copyright 2008 Obeo
All Rights Reserved.