今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.1 KiB

.class Lbolts/UnobservedErrorNotifier;
.super Ljava/lang/Object;
.source "UnobservedErrorNotifier.java"
# instance fields
.field private task:Lbolts/Task;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lbolts/Task",
"<*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lbolts/Task;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lbolts/Task",
"<*>;)V"
}
.end annotation
.prologue
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 12
iput-object p1, p0, Lbolts/UnobservedErrorNotifier;->task:Lbolts/Task;
.line 13
return-void
.end method
# virtual methods
.method protected finalize()V
.locals 4
.prologue
.line 18
:try_start_0
iget-object v0, p0, Lbolts/UnobservedErrorNotifier;->task:Lbolts/Task;
.line 19
if-eqz v0, :cond_0
.line 20
invoke-static {}, Lbolts/Task;->getUnobservedExceptionHandler()Lbolts/Task$UnobservedExceptionHandler;
move-result-object v1
.line 21
if-eqz v1, :cond_0
.line 22
new-instance v2, Lbolts/UnobservedTaskException;
invoke-virtual {v0}, Lbolts/Task;->getError()Ljava/lang/Exception;
move-result-object v3
invoke-direct {v2, v3}, Lbolts/UnobservedTaskException;-><init>(Ljava/lang/Throwable;)V
invoke-interface {v1, v0, v2}, Lbolts/Task$UnobservedExceptionHandler;->unobservedException(Lbolts/Task;Lbolts/UnobservedTaskException;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 26
:cond_0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
.line 28
return-void
.line 26
:catchall_0
move-exception v0
invoke-super {p0}, Ljava/lang/Object;->finalize()V
throw v0
.end method
.method public setObserved()V
.locals 1
.prologue
.line 31
const/4 v0, 0x0
iput-object v0, p0, Lbolts/UnobservedErrorNotifier;->task:Lbolts/Task;
.line 32
return-void
.end method