ParseErrorDetails for subclasses to override.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final String | getEncountered()
Implements org. Returns the physical input encountered when the error happened. |
| public List | getExpected()
Implements org. Returns all that are logically expected. |
| public String | getFailureMessage()
Implements org. Returns the error message incurred by |
| public final int | getIndex()
Implements org. Returns the 0-based index in the source where the error happened. |
| public String | getUnexpected()
Implements org. Returns what is logically unexpected, or |
| encountered | back to summary |
|---|---|
| private final String encountered | |
| index | back to summary |
|---|---|
| private final int index | |
| EmptyParseError | back to summary |
|---|---|
| pack-priv EmptyParseError(int index, String encountered) | |
| getEncountered | back to summary |
|---|---|
| public final String getEncountered() Implements org. Doc from org. Returns the physical input encountered when the error happened.
| |
| getExpected | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns all that are logically expected.
| |
| getFailureMessage | back to summary |
|---|---|
| public String getFailureMessage() Implements org. Doc from org. Returns the error message incurred by
| |
| getIndex | back to summary |
|---|---|
| public final int getIndex() Implements org. Doc from org. Returns the 0-based index in the source where the error happened.
| |
| getUnexpected | back to summary |
|---|---|
| public String getUnexpected() Implements org. Doc from org. Returns what is logically unexpected, or
| |