EXIficient

com.siemens.ct.exi.helpers
Class DefaultErrorHandler

java.lang.Object
  extended by com.siemens.ct.exi.helpers.DefaultErrorHandler
All Implemented Interfaces:
ErrorHandler

public class DefaultErrorHandler
extends java.lang.Object
implements ErrorHandler

Default Error Handler for EXI exceptions.

Warnings and errors are simply ignored

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

Constructor Summary
DefaultErrorHandler()
           
 
Method Summary
 void error(EXIException exception)
          Receive notification of a recoverable error.
 void warning(EXIException exception)
          Receive notification of a warning.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultErrorHandler

public DefaultErrorHandler()
Method Detail

error

public void error(EXIException exception)
Description copied from interface: ErrorHandler
Receive notification of a recoverable error.

Specified by:
error in interface ErrorHandler
Parameters:
exception - The error information encapsulated in a EXI exception.

warning

public void warning(EXIException exception)
Description copied from interface: ErrorHandler
Receive notification of a warning.

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

Specified by:
warning in interface ErrorHandler
Parameters:
exception - The warning information encapsulated in a EXI exception.

EXIficient