public static class SQLParseException.ParseError
extends java.lang.Object
| Constructor and Description |
|---|
ParseError(int offset,
java.lang.String message)
Deprecated.
use
#ParseError( int offset, String message, String suggestions ) |
ParseError(int offset,
java.lang.String message,
java.lang.String suggestions)
Parse error information
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
int |
getOffset()
Get the location of the error as a column offset.
|
java.lang.String |
getSuggestions()
Get suggestions for the expected elements at the error location.
|
public ParseError(int offset,
java.lang.String message,
java.lang.String suggestions)
offset - to erroneous elementmessage - the error message (including location infosuggestions - the most likely expected elementpublic ParseError(int offset,
java.lang.String message)
#ParseError( int offset, String message, String suggestions )