PSD header error message clean-up.

This commit is contained in:
Harald Kuhr 2015-03-16 15:11:59 +01:00
parent 3ef93b6758
commit 82c6cce997

View File

@ -29,7 +29,6 @@
package com.twelvemonkeys.imageio.plugins.psd; package com.twelvemonkeys.imageio.plugins.psd;
import javax.imageio.IIOException; import javax.imageio.IIOException;
import java.io.DataInput; import java.io.DataInput;
import java.io.IOException; import java.io.IOException;
@ -120,7 +119,7 @@ final class PSDHeader {
case PSD.COLOR_MODE_LAB: case PSD.COLOR_MODE_LAB:
break; break;
default: default:
throw new IIOException(String.format("Unsupported mode depth for PSD: %d", mode)); throw new IIOException(String.format("Unsupported color mode for PSD: %d", mode));
} }
} }