move to singleton ReaderException for a bit more performance
[zxing.git] / core / src / com / google / zxing / qrcode / decoder / Mode.java
index 417a0dd..4506423 100644 (file)
@@ -67,7 +67,7 @@ final class Mode {
       case 0x9:
         return FNC1_SECOND_POSITION;
       default:
-        throw new ReaderException("Unsupported mode bits: " + bits);
+        throw ReaderException.getInstance();
     }
   }