Skip to content

Commit

Permalink
enrich exception when e.g. resizeRafIfTooSmall fails
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryShea authored and yevgenp committed May 7, 2024
1 parent 5522846 commit 9a89548
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ private BufferOverflowException writeBufferOverflowException0(final long offset)
assert newBS.reservedBy(this);

} catch (@NotNull IOException e) {
throw new IORuntimeException(e);
throw new IORuntimeException(String.format("Failed to acquireByteStore start: 0x%X offset: 0x%X safeLimit: 0x%X", start(), offset, safeLimit()), e);
}
if (set) {
try {
Expand Down

0 comments on commit 9a89548

Please sign in to comment.