W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 16470] Exception message contruction

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Mar 2012 19:38:56 +0000
To: public-script-coord@w3.org
Message-Id: <E1SARN2-00035u-2X@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16470

--- Comment #1 from Marcos Caceres <w3c@marcosc.com> 2012-03-21 19:38:55 UTC ---
Also, I think the Exception JS binding section is confusing with regards to
setting message (when no argument is missing). It should be a bit more clear
that ECMAscript Error gives you message and type in the prototype.  

Generally, I've struggled a bit with the exception stuff... it is a bit all
over the place. I have to bounce between many parts of the spec to find all the
bits I need to put it together. It would be much easier if everything was
brought together in one place with less critical bits missing from definitions.
I guess once I'm done you will be able to see how I had to copy/paste parts of
the spec into a kind of Frankenstein... I shouldn't have to do that when
following algorithms (ECMAScript does this really nicely). 

code is here: 

https://github.com/marcoscaceres/ECMAScriptInJS/blob/master/WebIDL.js

Search for "ExceptionFactory".

-- 
Configure bugmail: https://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 Wednesday, 21 March 2012 19:38:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC