X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fmulti%2Fqrcode%2FQRCodeMultiReader.java;h=72a7d681a6bbd30062382a9f1dab40e1e91aff53;hb=ac343e4ddc7af1f54c2d2634abb1be992d183a35;hp=191a7142bd3529dd03cb659b857d98ee0ce582c8;hpb=d0ff60320c6b6755fbaefa710bdcb25a92c882d8;p=zxing.git diff --git a/core/src/com/google/zxing/multi/qrcode/QRCodeMultiReader.java b/core/src/com/google/zxing/multi/qrcode/QRCodeMultiReader.java index 191a7142..72a7d681 100644 --- a/core/src/com/google/zxing/multi/qrcode/QRCodeMultiReader.java +++ b/core/src/com/google/zxing/multi/qrcode/QRCodeMultiReader.java @@ -18,6 +18,7 @@ package com.google.zxing.multi.qrcode; import com.google.zxing.BarcodeFormat; import com.google.zxing.BinaryBitmap; +import com.google.zxing.NotFoundException; import com.google.zxing.ReaderException; import com.google.zxing.Result; import com.google.zxing.ResultMetadataType; @@ -41,11 +42,11 @@ public final class QRCodeMultiReader extends QRCodeReader implements MultipleBar private static final Result[] EMPTY_RESULT_ARRAY = new Result[0]; - public Result[] decodeMultiple(BinaryBitmap image) throws ReaderException { + public Result[] decodeMultiple(BinaryBitmap image) throws NotFoundException { return decodeMultiple(image, null); } - public Result[] decodeMultiple(BinaryBitmap image, Hashtable hints) throws ReaderException { + public Result[] decodeMultiple(BinaryBitmap image, Hashtable hints) throws NotFoundException { Vector results = new Vector(); DetectorResult[] detectorResult = new MultiDetector(image.getBlackMatrix()).detectMulti(hints); for (int i = 0; i < detectorResult.length; i++) {