Improving Exception handling in DNS
-----------------------------------

                 Key: DIRSERVER-976
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-976
             Project: Directory ApacheDS
          Issue Type: Improvement
          Components: dns
    Affects Versions: 1.5.0
         Environment: ADS protocol-dns from TRUNK
            Reporter: Julien Vermillard
         Attachments: DNSException.patch

1st : RecordStore interface is declared as throws Exception

public Set<ResourceRecord> getRecords( QuestionRecord question ) throws 
Exception;

Why not change it to DNSException ?

2nd : GetRessourceRecord depend on LdapNameNotFoundException, why move the 
management of this exception to LDAP based RecordStore implementations ?

I'm attaching a patch with this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to