public class SyntaxError extends MathException
Constructor and Description |
---|
SyntaxError(int startOffset,
int rowIndx,
int columnIndx,
String currentLine,
String error,
int length)
SyntaxError exception
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex()
column index where the error occurred (offset relative to rowIndex)
|
String |
getCurrentLine()
source code line, where the error occurred
|
String |
getError()
the error string
|
int |
getLength()
length of the error
|
String |
getMessage() |
int |
getRowIndex()
row index where the error occurred
|
int |
getStartOffset()
offset where the error occurred
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getMessage()
getMessage
in class Throwable
public int getStartOffset()
public int getColumnIndex()
public String getCurrentLine()
public String getError()
public int getLength()
public int getRowIndex()
Copyright © 2017. All rights reserved.