Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.parsers
Class ISeriesEditorSyntaxError

java.lang.Object
  extended by com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxError

public class ISeriesEditorSyntaxError
extends Object

Class that holds information about a syntax error.


Field Summary
static String copyright
           
 int iElementNumber
           
 int iLength
           
 int iPosition
           
 String strMessage
           
 
Constructor Summary
ISeriesEditorSyntaxError(int iElementNumber, int iPosition, int iLength, String strMessage)
          Constructor.
ISeriesEditorSyntaxError(int iElementNumber, String strMessage)
          Constructor.
 
Method Summary
 int getElementNumber()
          Returns the Element number.
 int getLength()
          Returns the number of columns.
 String getMessage()
          Returns the error message string.
 int getPosition()
          Returns the column position.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

iElementNumber

public int iElementNumber

iPosition

public int iPosition

iLength

public int iLength

strMessage

public String strMessage
Constructor Detail

ISeriesEditorSyntaxError

public ISeriesEditorSyntaxError(int iElementNumber,
                                String strMessage)
Constructor.


ISeriesEditorSyntaxError

public ISeriesEditorSyntaxError(int iElementNumber,
                                int iPosition,
                                int iLength,
                                String strMessage)
Constructor.

Method Detail

getLength

public int getLength()
Returns the number of columns.


getElementNumber

public int getElementNumber()
Returns the Element number.


getMessage

public String getMessage()
Returns the error message string.


getPosition

public int getPosition()
Returns the column position.


toString

public String toString()
Overrides:
toString in class Object

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.