Saxon.Api

 

 

Saxon.Api

Interface IErrorReporter


public interface IErrorReporter

The IErrorReporter is a generic functional interface for reporting errors and warnings.

The error or warning is reported in the form of an XmlProcessingError which adds the possibility to report errors without expensive construction of an exception object.

Method Summary

 void report(XmlProcessingError error)

Report an error. This method is called by Saxon when an error needs to be reported to the calling application.

 

Method Detail

report

public void report(XmlProcessingError error)

Report an error. This method is called by Saxon when an error needs to be reported to the calling application.

Parameters:

error - Details of the error to be reported