Package io.mola.galimatias
Class DefaultErrorHandler
- java.lang.Object
-
- io.mola.galimatias.DefaultErrorHandler
-
- All Implemented Interfaces:
ErrorHandler
public final class DefaultErrorHandler extends java.lang.Object implements ErrorHandler
DefaultErrorHandler. It does nothing with errors.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(GalimatiasParseException error)voidfatalError(GalimatiasParseException error)static DefaultErrorHandlergetInstance()
-
-
-
Method Detail
-
getInstance
public static DefaultErrorHandler getInstance()
-
error
public void error(GalimatiasParseException error) throws GalimatiasParseException
- Specified by:
errorin interfaceErrorHandler- Throws:
GalimatiasParseException
-
fatalError
public void fatalError(GalimatiasParseException error)
- Specified by:
fatalErrorin interfaceErrorHandler
-
-