58 lines
1.8 KiB
Smali
58 lines
1.8 KiB
Smali
.class public final Landroidx/work/impl/utils/futures/AbstractFuture$Failure;
|
|
.super Ljava/lang/Object;
|
|
.source "AbstractFuture.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/work/impl/utils/futures/AbstractFuture;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Failure"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final FALLBACK_INSTANCE:Landroidx/work/impl/utils/futures/AbstractFuture$Failure;
|
|
|
|
|
|
# instance fields
|
|
.field public final exception:Ljava/lang/Throwable;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
new-instance v0, Landroidx/work/impl/utils/futures/AbstractFuture$Failure;
|
|
|
|
new-instance v1, Landroidx/work/impl/utils/futures/AbstractFuture$Failure$1;
|
|
|
|
const-string v2, "Failure occurred while trying to finish a future."
|
|
|
|
invoke-direct {v1, v2}, Landroidx/work/impl/utils/futures/AbstractFuture$Failure$1;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-direct {v0, v1}, Landroidx/work/impl/utils/futures/AbstractFuture$Failure;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
sput-object v0, Landroidx/work/impl/utils/futures/AbstractFuture$Failure;->FALLBACK_INSTANCE:Landroidx/work/impl/utils/futures/AbstractFuture$Failure;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/Throwable;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-static {p1}, Landroidx/work/impl/utils/futures/AbstractFuture;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
iput-object p1, p0, Landroidx/work/impl/utils/futures/AbstractFuture$Failure;->exception:Ljava/lang/Throwable;
|
|
|
|
return-void
|
|
.end method
|