Skip to content

Commit

Permalink
Add TODO to remind updating exception handling to include cause.
Browse files Browse the repository at this point in the history
  • Loading branch information
coobird committed Sep 24, 2022
1 parent 90c6349 commit 4af370f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ public void write(BufferedImage img) throws IOException {
* The "cause" parameter has been introduced in Java 6:
* http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html#IOException%28java.lang.String,%20java.lang.Throwable%29
*
* TODO Include `cause` in exception when moving codebase to Java 6+
*
* TODO Whether to surround this portion of code in a try-catch
* is debatable, as it wouldn't really add more utility.
*
Expand Down

0 comments on commit 4af370f

Please sign in to comment.