public static final class LexBuffer.LexicalError extends RuntimeException
LexBuffer
, and which is raised also by
LexBuffer.getNextChar()
in place of potential
IOException
s.LexBuffer.error(java.lang.String)
,
Serialized FormModifier 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, toString
public 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