W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 10623] Simplify Web IDL exceptions

From: <bugzilla@jessica.w3.org>
Date: Thu, 13 Oct 2011 04:09:10 +0000
To: public-script-coord@w3.org
Message-Id: <E1RECbW-0008Dv-SV@jessica.w3.org>

--- Comment #16 from Cameron McCormack <cam@mcc.id.au> 2011-10-13 04:09:07 UTC ---
(In reply to comment #15)
> I defined something like what you suggested now.
> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw
> This should basically allow everyone to mint new DOMException values. When they
> happen to be one of the types that has a legacy code exception field value code
> will be set appropriately.


> Should we have a central registry somewhere (maybe in form of a wiki) where
> specifications can note additional exception types and descriptions? (They do
> not need the legacy code field value.)

Yes, I think that is a good idea.  Repurpose

One final thing to wonder is whether new exception types (ones that don't have
a legacy code) should use use Error rather than DOMException.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 13 October 2011 04:09:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:45 UTC