]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3211] Removed remaining InvalidBufferPosition
authorFrancis Dupont <fdupont@isc.org>
Tue, 19 Mar 2024 17:21:54 +0000 (18:21 +0100)
committerFrancis Dupont <fdupont@isc.org>
Tue, 19 Mar 2024 23:18:24 +0000 (00:18 +0100)
src/lib/util/buffer.h

index 2a6670d38085e6274639ddc445356d349d8008f3..2a8ac8d2b7e91608560217d51f0cfa5f5306dacd 100644 (file)
@@ -416,7 +416,7 @@ public:
     /// @brief Return the value of the buffer at the specified position.
     ///
     /// @c pos must specify the valid position of the buffer;
-    /// otherwise an exception class of @c InvalidBufferPosition will
+    /// otherwise an exception class of @c isc::OutOfRange will
     /// be thrown.
     ///
     /// @param pos The position in the buffer to be returned.
@@ -478,8 +478,8 @@ public:
     /// @brief Write an unsigned 8-bit integer into the buffer.
     ///
     /// The position must be lower than the size of the buffer,
-    /// otherwise an exception of class @c
-    /// isc::dns::InvalidBufferPosition will be thrown.
+    /// otherwise an exception of class @c isc::OutOfRange will
+    /// be thrown.
     ///
     /// @param data The 8-bit integer to be written into the buffer.
     /// @param pos The position in the buffer to write the data.
@@ -505,8 +505,8 @@ public:
     ///
     /// The buffer must have a sufficient room to store the given data
     /// at the given position, that is, <code>pos + 2 <
-    /// getLength()</code>; otherwise an exception of class @c
-    /// isc::dns::InvalidBufferPosition will be thrown.
+    /// getLength()</code>; otherwise an exception of class
+    /// @c isc::OutOfRange will be thrown.
     /// Note also that this method never extends the buffer.
     ///
     /// @param data The 16-bit integer to be written into the buffer.