\r
package com.google.zxing.pdf417.decoder;\r
\r
-import com.google.zxing.ReaderException;\r
+import com.google.zxing.FormatException;\r
import com.google.zxing.common.DecoderResult;\r
\r
/**\r
private DecodedBitStreamParser() {\r
}\r
\r
- static DecoderResult decode(int[] codewords) throws ReaderException {\r
+ static DecoderResult decode(int[] codewords) throws FormatException {\r
StringBuffer result = new StringBuffer(100);\r
// Get compaction mode\r
int codeIndex = 1;\r
if (codeIndex < codewords.length) {\r
code = codewords[codeIndex++];\r
} else {\r
- throw ReaderException.getInstance();\r
+ throw FormatException.getFormatInstance();\r
}\r
}\r
return new DecoderResult(null, result.toString(), null, null);\r