[Bug 12464] New: exception type should support inheritance

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