apkfuckery/com.discord/smali/androidx/work/Operation$State$FAILURE.smali
2020-11-16 22:05:17 +00:00

74 lines
1.8 KiB
Smali

.class public final Landroidx/work/Operation$State$FAILURE;
.super Landroidx/work/Operation$State;
.source "Operation.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/work/Operation$State;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "FAILURE"
.end annotation
# instance fields
.field private final mThrowable:Ljava/lang/Throwable;
# direct methods
.method public constructor <init>(Ljava/lang/Throwable;)V
.locals 0
.param p1 # Ljava/lang/Throwable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
invoke-direct {p0}, Landroidx/work/Operation$State;-><init>()V
iput-object p1, p0, Landroidx/work/Operation$State$FAILURE;->mThrowable:Ljava/lang/Throwable;
return-void
.end method
# virtual methods
.method public getThrowable()Ljava/lang/Throwable;
.locals 1
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Landroidx/work/Operation$State$FAILURE;->mThrowable:Ljava/lang/Throwable;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.annotation build Landroidx/annotation/NonNull;
.end annotation
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Object;
iget-object v1, p0, Landroidx/work/Operation$State$FAILURE;->mThrowable:Ljava/lang/Throwable;
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
const-string v1, "FAILURE (%s)"
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method