Similar to SAX2's ErrorHandler
interface.
A callback interface
An application implements this interface and
then registers it with the setErrorHandler()
method to provide
warnings, errors, and fatal errors.
Java binding:
package org.w3c.dom;
public interface DOMErrorHandler {
public boolean handleError(DOMError error);
}
IDL:
interface DOMErrorHandler {
boolean handleError(in DOMError error);
};