Documentation of 'org.matheclipse.parser.client.SyntaxError' Java class
SyntaxError
org.matheclipse.parser.client

Class SyntaxError

  • All Implemented Interfaces:
    java.io.Serializable


    public class SyntaxError
    extends MathException
    Exception for a syntax error detected by the MathEclipse parser
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SyntaxError(int startOffset, int rowIndx, int columnIndx, java.lang.String currentLine, java.lang.String error, int length)
      SyntaxError exception
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getColumnIndex()
      column index where the error occurred (offset relative to rowIndex)
      java.lang.String getCurrentLine()
      source code line, where the error occurred
      java.lang.String getError()
      the error string
      int getLength()
      length of the error
      java.lang.String getMessage() 
      int getRowIndex()
      row index where the error occurred
      int getStartOffset()
      offset where the error occurred
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SyntaxError

        public SyntaxError(int startOffset,
                           int rowIndx,
                           int columnIndx,
                           java.lang.String currentLine,
                           java.lang.String error,
                           int length)
        SyntaxError exception
        Parameters:
        startOffset -
        length -
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getStartOffset

        public int getStartOffset()
        offset where the error occurred
      • getColumnIndex

        public int getColumnIndex()
        column index where the error occurred (offset relative to rowIndex)
      • getCurrentLine

        public java.lang.String getCurrentLine()
        source code line, where the error occurred
      • getError

        public java.lang.String getError()
        the error string
      • getLength

        public int getLength()
        length of the error
      • getRowIndex

        public int getRowIndex()
        row index where the error occurred

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.