mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Add isStackTrace support to NotFoundException
This commit is contained in:
parent
c4266bf09c
commit
491006ac3b
|
@ -34,7 +34,7 @@ public final class NotFoundException extends ReaderException {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static NotFoundException getNotFoundInstance() {
|
public static NotFoundException getNotFoundInstance() {
|
||||||
return INSTANCE;
|
return isStackTrace ? new NotFoundException() : INSTANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue