Skip to content

Commit

Permalink
see #21392 - add more debug info in the reported exception
Browse files Browse the repository at this point in the history
git-svn-id: https://josm.openstreetmap.de/svn/trunk@18244 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
don-vip committed Oct 3, 2021
1 parent e43d48d commit 6744f0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ protected void transform(BufferedImage imageIn) {
} catch (NegativeArraySizeException | IllegalArgumentException e) {
// See #19746 + #17387 - https://bugs.openjdk.java.net/browse/JDK-4690476
throw BugReport.intercept(e).put("targetDim", targetDim).put("key", getKey())
.put("projCurrent", projCurrent).put("projServer", projServer).put("pbServer", pbServer);
.put("projCurrent", projCurrent).put("projServer", projServer).put("pbServer", pbServer)
.put("pbTarget", pbTarget).put("pbTargetAligned", pbTargetAligned).put("scale", scale);
}
}

Expand Down

0 comments on commit 6744f0c

Please sign in to comment.