W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

What exception to raise?

From: Vadim O. Ustiansky <ustiansk@sai.msu.ru>
Date: 08 Sep 2003 18:20:00 -0400
To: www-dom@w3.org
Message-ID: <Pine.LNX.4.44.0308151708520.25861-100000@lnfm1.sai.msu.ru>

Dear DOM WG!

Some methods may raise several types of exceptions. It can be
situations where more then one exceptional conditions are met
at the same time. Is it described anywhere how to determine
exceptions' precedence?

For example if I try to call insertBefore method on a readonly
node with newChild being the node created from a different document,
which exception should be raised: NO_MODIFICATION_ALLOWED_ERR or


Yours sincerely,
Received on Monday, 8 September 2003 18:20:00 UTC

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