Added build-optimized target to produce optimized core.jar; tests now test optimized...
[zxing.git] / core / src / com / google / zxing / common / BaseMonochromeBitmapSource.java
index e6906b4..559dbef 100644 (file)
@@ -112,7 +112,7 @@ public abstract class BaseMonochromeBitmapSource implements MonochromeBitmapSour
   }
 
   public MonochromeBitmapSource rotateCounterClockwise() {
-    throw new IllegalStateException("Rotate not supported");
+    throw new IllegalArgumentException("Rotate not supported");
   }
 
   public boolean isRotateSupported() {