@@ -416,7 +416,7 @@ class OutputBuffer {
416
416
// / @brief Return the value of the buffer at the specified position.
417
417
// /
418
418
// / @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
420
420
// / be thrown.
421
421
// /
422
422
// / @param pos The position in the buffer to be returned.
@@ -478,8 +478,8 @@ class OutputBuffer {
478
478
// / @brief Write an unsigned 8-bit integer into the buffer.
479
479
// /
480
480
// / 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.
483
483
// /
484
484
// / @param data The 8-bit integer to be written into the buffer.
485
485
// / @param pos The position in the buffer to write the data.
@@ -505,8 +505,8 @@ class OutputBuffer {
505
505
// /
506
506
// / The buffer must have a sufficient room to store the given data
507
507
// / 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.
510
510
// / Note also that this method never extends the buffer.
511
511
// /
512
512
// / @param data The 16-bit integer to be written into the buffer.
0 commit comments