Name

handleError: error(3)

Synopsis

This is the callback method that is invoked by the DOM when an error occurs. Programmers using the DOM are responsible for implementing this method, processing errors, and determining whether processing should continue or be aborted. If this method returns true, processing will continue (unless an error of SEVERITY_FATAL_ERROR has occurred). If it returns false, processing will halt.

Argument

error: DOMError

The object that describes the error.

Java binding

public boolean handleError(DOMError error);

Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.