org.anarres.cpp
Interface ErrorHandler
- All Known Implementing Classes:
- DefaultErrorHandler
public interface ErrorHandler
ERR_WARNING
static final int ERR_WARNING
- See Also:
- Constant Field Values
ERR_ERROR
static final int ERR_ERROR
- See Also:
- Constant Field Values
handle
void handle(ErrorMessage msg)
throws LexerException
- Handles an error.
The behaviour of this method is defined by the
implementation. It may simply record the error message, or
it may throw an exception.
- Throws:
LexerException
Copyright © 2007 Shevek, Anarres. All Rights Reserved.