BIND 10 #2518: introduce exception hierarchy for "from text" errors in libdns++

BIND 10 Development do-not-reply at isc.org
Fri Jan 31 06:59:20 UTC 2014


#2518: introduce exception hierarchy for "from text" errors in libdns++
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:  muks
                Type:  task          |                       Status:
            Priority:  medium        |  reviewing
           Component:  libdns++      |                    Milestone:
            Keywords:                |  bind10-1.2-release-freeze
           Sensitive:  0             |                   Resolution:
         Sub-Project:  DNS           |                 CVSS Scoring:
Estimated Difficulty:  4             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 Replying to [comment:6 pselkirk]:
 > Replying to [comment:5 muks]:
 > > Note: Also update `MasterLoader` removing the generic `catch`.
 >
 > This comment seems unrelated to this ticket.

 I am sorry I was not very clear in that comment as I had written it down
 as a note for myself.

 It is for this ticket. There is a catch-all for `isc::Exception` in
 `loadIncremental()` which was put in place because the various `Name`
 parsing exceptions were not in any hierarchy. As they have been updated,
 the `catch` has to be replaced with `catch`es for the specific exceptions
 that we expect to handle here.

-- 
Ticket URL: <https://bind10.isc.org/ticket/2518#comment:8>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list