diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-09 09:43:02 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-08-09 09:43:02 +0200 |
commit | b05d696205f220e711f04df6eb8389c6bdbe016a (patch) | |
tree | 55cf59837978b7edbed6d006914852b1873f2f44 /pdf-over-commons/src/main/java/at | |
parent | 0dad4e12976720ef16de28cbd54086ef652ab2ec (diff) | |
download | pdf-over-b05d696205f220e711f04df6eb8389c6bdbe016a.tar.gz pdf-over-b05d696205f220e711f04df6eb8389c6bdbe016a.tar.bz2 pdf-over-b05d696205f220e711f04df6eb8389c6bdbe016a.zip |
don't quietly fail image conversion
Diffstat (limited to 'pdf-over-commons/src/main/java/at')
-rw-r--r-- | pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java index b3687022..416e0157 100644 --- a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java +++ b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/utils/ImageUtil.java @@ -252,6 +252,6 @@ public final class ImageUtil { } return data; } - return null; + throw new RuntimeException("could not convert image with model " + bufferedImage.getColorModel().getClass().getName()); } } |