[Bug 10623] New: Simplify Web IDL exceptions

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 UTC