org.anarres.cpp
Interface ErrorHandler

All Known Implementing Classes:
DefaultErrorHandler

public interface ErrorHandler


Field Summary
static int ERR_ERROR
           
static int ERR_WARNING
           
 
Method Summary
 void handle(ErrorMessage msg)
          Handles an error.
 

Field Detail

ERR_WARNING

static final int ERR_WARNING
See Also:
Constant Field Values

ERR_ERROR

static final int ERR_ERROR
See Also:
Constant Field Values
Method Detail

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.