W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

[Bug 10623] New: Simplify Web IDL exceptions

From: <bugzilla@jessica.w3.org>
Date: Mon, 13 Sep 2010 07:49:06 +0000
To: public-webapps@w3.org
Message-ID: <bug-10623-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10623

           Summary: Simplify Web IDL exceptions
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: annevk@opera.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


I think that all custom exception interfaces defined have been designed after
DOMException. I.e. they have a code and that returns the specific type of
exception thrown. Maybe we should make things even simpler here in that the
specification basically defines a name (e.g. DOMException) and a list of
name/number pairs (e.g. INVALID_CHARACTER_ERR/5) and Web IDL handles the rest.

-- 
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 Monday, 13 September 2010 07:49:11 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT