8000 update · CodeSharer/Java-Coding-Problems@148a570 · GitHub
[go: up one dir, main page]

Skip to content

Commit 148a570

Browse files
committed
update
1 parent 0487565 commit 148a570

File tree

1 file changed

+1
-1
lines changed
  • Chapter_14/P287_SettingRequestBody/src/modern/challenge

1 file changed

+1
-1
lines changed

Chapter_14/P287_SettingRequestBody/src/modern/challenge/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private static ByteArrayInputStream inputStream(String fileName) {
9090

9191
return inputStream;
9292
} catch (IOException ex) {
93-
throw new RuntimeException(ex);
93+
throw new RuntimeException("File could not be read: ", ex);
9494
}
9595
}
9696

0 commit comments

Comments
 (0)
0