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

[Bug 12464] New: exception type should support inheritance

From: <bugzilla@jessica.w3.org>
Date: Sat, 09 Apr 2011 15:07:25 +0000
To: public-script-coord@w3.org
Message-ID: <bug-12464-3890@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12464

           Summary: exception type should support inheritance
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: jari.bakken@gmail.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


It's sometimes useful to define a hierarchy of exceptions, e.g.

    exception NotFoundException { };
    exception NoSuchElementException : NotFoundException { };
    exception NoSuchFrameException : NotFoundException { };

If not, then the section on Exceptions (3.4.) should include this as another
way exceptions differ from interfaces.

-- 
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 Saturday, 9 April 2011 15:07:27 UTC

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