.class public final Lcom/vk/api/base/ThrowableExt; .super Ljava/lang/Object; .source "ThrowableExt.kt" # direct methods .method public static final a(Ljava/lang/Throwable;)V .locals 1 const-string v0, "receiver$0" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V .line 20 instance-of v0, p0, Lcom/vk/api/sdk/exceptions/VKApiExecutionException; if-eqz v0, :cond_0 check-cast p0, Lcom/vk/api/sdk/exceptions/VKApiExecutionException; sget-object v0, Lcom/vk/core/util/AppContextHolder;->a:Landroid/content/Context; invoke-static {p0, v0}, Lcom/vk/api/base/ApiExt;->a(Lcom/vk/api/sdk/exceptions/VKApiExecutionException;Landroid/content/Context;)V goto :goto_0 .line 21 :cond_0 sget p0, Lcom/vtosters/lite/api/R$a;->error:I invoke-static {p0}, Lcom/vk/core/util/ToastUtils;->a(I)V :goto_0 return-void .end method .method public static final b(Ljava/lang/Throwable;)Z .locals 1 const-string v0, "receiver$0" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V .line 26 instance-of v0, p0, Lcom/vk/api/sdk/exceptions/VKApiExecutionException; if-eqz v0, :cond_0 check-cast p0, Lcom/vk/api/sdk/exceptions/VKApiExecutionException; invoke-virtual {p0}, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;->b()Z move-result p0 if-eqz p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static final c(Ljava/lang/Throwable;)Z .locals 1 const-string v0, "receiver$0" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->b(Ljava/lang/Object;Ljava/lang/String;)V .line 30 instance-of v0, p0, Lcom/vk/api/sdk/exceptions/VKApiExecutionException; if-eqz v0, :cond_0 check-cast p0, Lcom/vk/api/sdk/exceptions/VKApiExecutionException; invoke-virtual {p0}, Lcom/vk/api/sdk/exceptions/VKApiExecutionException;->o()I move-result p0 const/4 v0, -0x1 if-ne p0, v0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method