public class SyntaxError extends MathException
Constructor and Description |
---|
SyntaxError(int startOffset,
int rowIndx,
int columnIndx,
java.lang.String currentLine,
java.lang.String error,
int length)
SyntaxError exception
|
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
|
public SyntaxError(int startOffset, int rowIndx, int columnIndx, java.lang.String currentLine, java.lang.String error, int length)
startOffset
- length
- public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public int getStartOffset()
public int getColumnIndex()
public java.lang.String getCurrentLine()
public java.lang.String getError()
public int getLength()
public int getRowIndex()