projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Throw the actual exception objects, rather than pointers to them, i.e.:
[zxing.git]
/
cpp
/
core
/
src
/
common
/
BitSource.cpp
diff --git
a/cpp/core/src/common/BitSource.cpp
b/cpp/core/src/common/BitSource.cpp
index
9d54903
..
6a2f2f6
100644
(file)
--- a/
cpp/core/src/common/BitSource.cpp
+++ b/
cpp/core/src/common/BitSource.cpp
@@
-24,7
+24,7
@@
namespace common {
int BitSource::readBits(int numBits) {
if (numBits < 0 || numBits > 32) {
- throw
new
IllegalArgumentException("cannot read <1 or >32 bits");
+ throw IllegalArgumentException("cannot read <1 or >32 bits");
}
int result = 0;