Skip to content

Commit

Permalink
MINOR: Throw exception in BytesInput (#3042)
Browse files Browse the repository at this point in the history
Noticed this while reviewing #3040
  • Loading branch information
Fokko committed Nov 7, 2024
1 parent 623ce10 commit 742ad87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void writeInto(ByteBuffer buffer) {
}
buffer.position(pos + byteCount);
} catch (IOException e) {
new RuntimeException("Exception occurred during reading input stream", e);
throw new RuntimeException("Exception occurred during reading input stream", e);
}
}

Expand Down

0 comments on commit 742ad87

Please sign in to comment.