b.smali
.class public final Ldq/b;
.super Ljava/lang/Object;
.source "ExceptionHelper.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Ldq/b$a;
}
.end annotation
# direct methods
.method public static constructor <clinit>()V
.registers 1
new-instance v0, Ldq/b$a;
invoke-direct {v0}, Ldq/b$a;-><init>()V
return-void
.end method
.method public static a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
.registers 2
instance-of v0, p0, Ljava/lang/Error;
if-nez v0, :cond_11
instance-of v0, p0, Ljava/lang/RuntimeException;
if-eqz v0, :cond_b
check-cast p0, Ljava/lang/RuntimeException;
return-object p0
:cond_b
new-instance v0, Ljava/lang/RuntimeException;
invoke-direct {v0, p0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
return-object v0
:cond_11
check-cast p0, Ljava/lang/Error;
throw p0
.end method