Skip to content

Commit

Permalink
MINOR: Throw exception in BytesInput
Browse files Browse the repository at this point in the history
Noticed this while reviewing #3040
  • Loading branch information
Fokko authored Nov 4, 2024
1 parent d2128af commit 4b9c4de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ void writeInto(ByteBuffer buffer) {
Channels.newChannel(in).read(workBuf);
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 4b9c4de

Please sign in to comment.