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/>

           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.4.0 : Friday, 17 January 2020 17:14:03 UTC