Slightly friendlier error message

git-svn-id: https://zxing.googlecode.com/svn/trunk@133 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-01-02 23:08:41 +00:00
parent 8affbdfe6c
commit b3ecc20522

View file

@ -114,7 +114,7 @@ final class DecodedBitStreamParser {
try {
result.append(new String(buffer, "Shift_JIS"));
} catch (UnsupportedEncodingException uee) {
throw new ReaderException("Can't decode SHIFT_JIS string: " + uee);
throw new ReaderException("SHIFT_JIS encoding is not supported on this device");
}
}