TMI-JPEG: Fixed typos in exception messages.

This commit is contained in:
Harald Kuhr 2013-09-08 14:27:08 +02:00
parent dc63fac8ef
commit 5531c863cf

View File

@ -202,7 +202,7 @@ final class EXIFThumbnailReader extends ThumbnailReader {
Entry width = ifd.getEntryById(TIFF.TAG_IMAGE_WIDTH); Entry width = ifd.getEntryById(TIFF.TAG_IMAGE_WIDTH);
if (width == null) { if (width == null) {
throw new IIOException("Missing dimensions for unknown EXIF thumbnail"); throw new IIOException("Missing dimensions for uncompressed EXIF thumbnail");
} }
return ((Number) width.getValue()).intValue(); return ((Number) width.getValue()).intValue();
@ -221,7 +221,7 @@ final class EXIFThumbnailReader extends ThumbnailReader {
Entry height = ifd.getEntryById(TIFF.TAG_IMAGE_HEIGHT); Entry height = ifd.getEntryById(TIFF.TAG_IMAGE_HEIGHT);
if (height == null) { if (height == null) {
throw new IIOException("Missing dimensions for unknown EXIF thumbnail"); throw new IIOException("Missing dimensions for uncompressed EXIF thumbnail");
} }
return ((Number) height.getValue()).intValue(); return ((Number) height.getValue()).intValue();