MINOR: Fix JavaDoc of OffsetIndex#append
Reviewers: Mickael Maison
@@ -136,7 +136,8 @@ class OffsetIndex(_file: File, baseOffset: Long, maxIndexSize: Int = -1, writabl
/**
* Append an entry for the given offset/location pair to the index. This entry must have a larger offset than all subsequent entries.
- * @throws IndexOffsetOverflowException if the offset causes index offset to overflow
+ * @throws kafka.common.IndexOffsetOverflowException if the offset causes index offset to overflow
+ * @throws InvalidOffsetException if provided offset is not larger than the last offset
*/
def append(offset: Long, position: Int): Unit = {
inLock(lock) {
