Skip to content

Commit a7e0c79

Browse files
committed
[#3211] Removed remaining InvalidBufferPosition
1 parent 2317eaf commit a7e0c79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/util/buffer.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ class OutputBuffer {
416416
/// @brief Return the value of the buffer at the specified position.
417417
///
418418
/// @c pos must specify the valid position of the buffer;
419-
/// otherwise an exception class of @c InvalidBufferPosition will
419+
/// otherwise an exception class of @c isc::OutOfRange will
420420
/// be thrown.
421421
///
422422
/// @param pos The position in the buffer to be returned.
@@ -478,8 +478,8 @@ class OutputBuffer {
478478
/// @brief Write an unsigned 8-bit integer into the buffer.
479479
///
480480
/// The position must be lower than the size of the buffer,
481-
/// otherwise an exception of class @c
482-
/// isc::dns::InvalidBufferPosition will be thrown.
481+
/// otherwise an exception of class @c isc::OutOfRange will
482+
/// be thrown.
483483
///
484484
/// @param data The 8-bit integer to be written into the buffer.
485485
/// @param pos The position in the buffer to write the data.
@@ -505,8 +505,8 @@ class OutputBuffer {
505505
///
506506
/// The buffer must have a sufficient room to store the given data
507507
/// at the given position, that is, <code>pos + 2 <
508-
/// getLength()</code>; otherwise an exception of class @c
509-
/// isc::dns::InvalidBufferPosition will be thrown.
508+
/// getLength()</code>; otherwise an exception of class
509+
/// @c isc::OutOfRange will be thrown.
510510
/// Note also that this method never extends the buffer.
511511
///
512512
/// @param data The 16-bit integer to be written into the buffer.

0 commit comments

Comments
 (0)