package f.a.w.h;

/* JADX INFO: compiled from: ExceptionHelper.java */
/* JADX INFO: loaded from: classes.dex */
public final class c {
    public static final Throwable a = new a();

    /* JADX INFO: compiled from: ExceptionHelper.java */
    public static final class a extends Throwable {
        public a() {
            super("No further exceptions");
        }

        @Override // java.lang.Throwable
        public Throwable fillInStackTrace() {
            return this;
        }
    }

    public static RuntimeException a(Throwable th) {
        if (th instanceof Error) {
            throw ((Error) th);
        }
        return th instanceof RuntimeException ? (RuntimeException) th : new RuntimeException(th);
    }
}
