2 * Copyright 2007 ZXing authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package com.google.zxing;
20 * The general exception class throw when something goes wrong during decoding of a barcode.
21 * This includes, but is not limited to, failing checksums / error correction algorithms, being
22 * unable to locate finder timing patterns, and so on.
26 public abstract class ReaderException extends Exception {
32 // Prevent stack traces from being taken
33 // srowen says: huh, my IDE is saying this is not an override. native methods can't be overridden?
34 // This, at least, does not hurt. Because we use a singleton pattern here, it doesn't matter anyhow.
36 public final Throwable fillInStackTrace() {