X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fqrcode%2Fdecoder%2FDecoder.java;h=520e076f9e4d43c39b9dd560329864ef5ae17ec7;hp=22cdeb028ae0b989ca11aa2001e19c028c6ee2cd;hb=refs%2Fheads%2Fmaster;hpb=386c120eaa0adb7ec10631fdc84f428832f158a2 diff --git a/core/src/com/google/zxing/qrcode/decoder/Decoder.java b/core/src/com/google/zxing/qrcode/decoder/Decoder.java index 22cdeb02..520e076f 100644 --- a/core/src/com/google/zxing/qrcode/decoder/Decoder.java +++ b/core/src/com/google/zxing/qrcode/decoder/Decoder.java @@ -52,12 +52,10 @@ public final class Decoder { * * @param image booleans representing white/black QR Code modules * @return text and bytes encoded within the QR Code - * @throws NotFoundException if the QR Code cannot be found * @throws FormatException if the QR Code cannot be decoded * @throws ChecksumException if error correction fails */ - public DecoderResult decode(boolean[][] image, Hashtable hints) - throws ChecksumException, FormatException, NotFoundException { + public DecoderResult decode(boolean[][] image, Hashtable hints) throws ChecksumException, FormatException { int dimension = image.length; BitMatrix bits = new BitMatrix(dimension); for (int i = 0; i < dimension; i++) { @@ -70,7 +68,7 @@ public final class Decoder { return decode(bits, hints); } - public DecoderResult decode(BitMatrix bits) throws ChecksumException, FormatException, NotFoundException { + public DecoderResult decode(BitMatrix bits) throws ChecksumException, FormatException { return decode(bits, null); }