Serializable
public class SyntaxError extends MathException
Constructor | Description |
---|---|
SyntaxError(int startOffset,
int rowIndx,
int columnIndx,
String currentLine,
String error,
int length) |
SyntaxError exception.
|
Modifier and Type | Method | 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() |
Gets the message.
|
int |
getRowIndex() |
row index where the error occurred.
|
int |
getStartOffset() |
offset where the error occurred.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SyntaxError(int startOffset, int rowIndx, int columnIndx, String currentLine, String error, int length)
startOffset
- the start offsetrowIndx
- the row indxcolumnIndx
- the column indxcurrentLine
- the current lineerror
- the errorlength
- the lengthpublic 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 © 2018. All rights reserved.