Removed as many exceptions as possible from the C++ product readers
[zxing.git] / cpp / core / src / zxing / oned / EAN13Reader.h
index 95ffa0e..fa7b7e8 100644 (file)
 namespace zxing {
        namespace oned {
                class EAN13Reader : public UPCEANReader {
-                       
+
                private:
-                       static void determineFirstDigit(std::string& resultString, int lgPatternFound);                                                         //throws ReaderException
-                       
+                       static bool determineFirstDigit(std::string& resultString, int lgPatternFound);
+
                public:
                        EAN13Reader();
-                       
-                       int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen, std::string& resultString);                    //throws ReaderException
-                       
+
+                       int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen,
+                           std::string& resultString);
+
                        BarcodeFormat getBarcodeFormat();
                };
        }