public class SyntaxError extends RuntimeException
| 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, toStringpublic String getMessage()
getMessage in class Throwablepublic int getStartOffset()
public int getColumnIndex()
public String getCurrentLine()
public String getError()
public int getLength()
public int getRowIndex()
Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.