public class ExceptionErrorHandler extends Object implements ErrorHandler
| Constructor and Description |
|---|
ExceptionErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Throws an exception when one of the above methods was called.
|
void |
lexicalError(Position pos) |
protected void |
report(String pos,
String message) |
void |
semanticError(Position pos,
Exception e) |
void |
syntaxError(Position pos,
net.oneandone.sushi.util.IntBitSet shiftable) |
public void lexicalError(Position pos) throws IOException
lexicalError in interface ErrorHandlerIOExceptionpublic void syntaxError(Position pos, net.oneandone.sushi.util.IntBitSet shiftable) throws IOException
syntaxError in interface ErrorHandlerIOExceptionpublic void semanticError(Position pos, Exception e) throws IOException
semanticError in interface ErrorHandlerIOExceptionpublic void close()
throws IOException
ErrorHandlerclose in interface ErrorHandlerIOExceptionprotected void report(String pos, String message) throws IOException
IOExceptionCopyright © 1998–2017 1&1. All rights reserved.