Browse Source

corrected the description of the "from wire" constructor regarding possible exceptions. in response to review comment of trac #94.

trivial fix, skipping review.  build/test okay.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1736 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
39428f61bb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/dns/name.h

+ 1 - 2
src/lib/dns/name.h

@@ -243,8 +243,7 @@ public:
     /// method will automatically decompress it.
     /// method will automatically decompress it.
     ///
     ///
     /// If the given data does not represent a valid DNS name, an exception
     /// If the given data does not represent a valid DNS name, an exception
-    /// of class \c TooLongName, \c BadLabelType, \c BadPointer, or
-    /// \c IncompleteName will be thrown.
+    /// of class \c DNSMessageFORMERR will be thrown.
     /// In addition, if resource allocation for the new name fails, a
     /// In addition, if resource allocation for the new name fails, a
     /// corresponding standard exception will be thrown.
     /// corresponding standard exception will be thrown.
     ///
     ///