12 lines
572 B
Diff
12 lines
572 B
Diff
--- xmlgraphics-commons-2.11/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java
|
|
+++ xmlgraphics-commons-2.11/src/main/java/org/apache/xmlgraphics/image/loader/impl/ImageLoaderRawJPEG.java
|
|
@@ -228,7 +228,7 @@
|
|
if (padding != 0) {
|
|
try {
|
|
iccStream.write(new byte[padding]);
|
|
- } catch (IOException ioe) {
|
|
+ } catch (Exception ioe) {
|
|
throw new IOException("Error while aligning ICC stream: " + ioe.getMessage());
|
|
}
|
|
}
|
|
|