chesspresso.pgn
Interface PGNErrorHandler

All Known Implementing Classes:
PGNSimpleErrorHandler

public interface PGNErrorHandler

Interface for handlers of PGN errors as produced by PGNReader.

Version:
$Revision: 1.1 $
Author:
Bernhard Seybold

Method Summary
 void handleError(PGNSyntaxError error)
          Called in case of an error.
 void handleWarning(PGNSyntaxError warning)
          Called in case of a warning.
 

Method Detail

handleError

public void handleError(PGNSyntaxError error)
Called in case of an error.

Returns:
the error

handleWarning

public void handleWarning(PGNSyntaxError warning)
Called in case of a warning.

Returns:
the warning