BIND 10 #1860: introduce consistently structured exception hierachy in libdns++

BIND 10 Development do-not-reply at isc.org
Thu Mar 29 21:18:43 UTC 2012


#1860: introduce consistently structured exception hierachy in libdns++
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  UnAssigned
            Priority:  medium        |                       Status:  new
           Component:  libdns++      |                    Milestone:  Next-
           Sensitive:  0             |  Sprint-Proposed
         Sub-Project:  DNS           |                     Keywords:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 We'll need a module level exception class like `isc::dns::Exception`,
 which
 is a direct subclass of `isc::Exception`, and all exception classes
 in libdnss++ will be derived from `DNSException`.

 We should also categorize exceptions into some same type of
 intermediate classes.  It's inconvenient if there's nothing between
 a very specific exception type like `TooLongName` and very generic one
 (whether it's `isc::Exception` or `isc::dns::Exception`).

 This has been long standing issue, but now that we remember it in the
 discussion for #1627, I'm raising this for the next sprint.  This one
 shouldn't be a very big task and would be good for longer term.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1860>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list