granularity level: instruction
.class public Lcom/google/firebase/FirebaseExceptionMapper;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"
.implements Lcom/google/android/gms/common/api/internal/StatusExceptionMapper;
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public final getException(Lcom/google/android/gms/common/api/Status;)Ljava/lang/Exception;
.locals 2
invoke-virtual {p1}, Lcom/google/android/gms/common/api/Status;->getStatusCode()I
move-result v0
const/16 v1, 0x8
if-ne v0, v1, :cond_0
new-instance v0, Lcom/google/firebase/FirebaseException;
invoke-virtual {p1}, Lcom/google/android/gms/common/api/Status;->zza()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Lcom/google/firebase/FirebaseException;-><init>(Ljava/lang/String;)V
return-object v0
:cond_0
new-instance v0, Lcom/google/firebase/FirebaseApiNotAvailableException;
invoke-virtual {p1}, Lcom/google/android/gms/common/api/Status;->zza()Ljava/lang/String;
move-result-object p1
invoke-direct {v0, p1}, Lcom/google/firebase/FirebaseApiNotAvailableException;-><init>(Ljava/lang/String;)V
return-object v0
.end method