EXIficient

com.siemens.ct.exi.exceptions
Interface ErrorHandler

All Known Implementing Classes:
DefaultErrorHandler

public interface ErrorHandler

Basic interface for EXI error handlers.

If a EXI application needs to implement customized error handling, it must implement this interface and then register an instance.

Version:
0.4.20080818
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Method Summary
 void error(EXIException exception)
          Receive notification of a recoverable error.
 void warning(EXIException exception)
          Receive notification of a warning.
 

Method Detail

warning

void warning(EXIException exception)
Receive notification of a warning.

Parsers will use this method to report conditions that are not errors.

Parameters:
exception - The warning information encapsulated in a EXI exception.

error

void error(EXIException exception)
Receive notification of a recoverable error.

Parameters:
exception - The error information encapsulated in a EXI exception.

EXIficient