W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2003

Re: DOMConfiguration error type

From: Philippe Le Hegaret <plh@w3.org>
Date: 09 May 2003 09:34:48 -0400
To: Gareth Reakes <gareth@decisionsoft.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1052487288.32677.273.camel@jfouffa.w3.org>

On Fri, 2003-05-09 at 09:12, Gareth Reakes wrote:
> Hi,
> 	thanks for your reply. I agree with your opinion regarding 
> errors. At the URL you give it states
> "Users should refer to the specification of the error in order to find its 
> DOMString type and relatedData definitions if any."
> DOMConfiguration specifies the relatedData, but not the type. Does this 
> mean I can just make it up? Or should I leave it blank?

The errors are passed through the ErrorHandler object attached to the
DOMConfiguration (using the "error-handler" parameter). This
ErrorHandler will then receive the error, i.e. the DOMError object that
contains the relatedData/type. The specification should refer to
DOMError indeed.

Received on Friday, 9 May 2003 09:34:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC