public static final class LexBuffer.LexicalError extends RuntimeException
LexBuffer, and which is raised also by
LexBuffer.getNextChar() in place of potential
IOExceptions.LexBuffer.error(java.lang.String),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
@Nullable LexBuffer.Position |
pos
The position in input at which the error occurred
|
| Constructor and Description |
|---|
LexicalError(@Nullable LexBuffer.Position pos,
@Nullable String msg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final @Nullable LexBuffer.Position pos
public LexicalError(@Nullable LexBuffer.Position pos, @Nullable String msg)
pos - the position in input at which the error occurredmsg - error message