Changes of com.discord v1181
This commit is contained in:
parent
f52990c3c2
commit
5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions
|
@ -0,0 +1,19 @@
|
|||
.class public final Lrx/exceptions/AssemblyStackTraceException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "AssemblyStackTraceException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x1c4b7c27e9c0effcL
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public declared-synchronized fillInStackTrace()Ljava/lang/Throwable;
|
||||
.locals 0
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
|
@ -0,0 +1,38 @@
|
|||
.class public final Lrx/exceptions/CompositeException$a;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x35c7853e403cebd2L
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getMessage()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Chain of Causes for CompositeException In Order Received =>"
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,32 @@
|
|||
.class public abstract Lrx/exceptions/CompositeException$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x409
|
||||
name = "b"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract a()Ljava/lang/Object;
|
||||
.end method
|
||||
|
||||
.method public abstract b(Ljava/lang/Object;)V
|
||||
.end method
|
|
@ -0,0 +1,50 @@
|
|||
.class public final Lrx/exceptions/CompositeException$c;
|
||||
.super Lrx/exceptions/CompositeException$b;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "c"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/io/PrintStream;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/PrintStream;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lrx/exceptions/CompositeException$b;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException$c;->a:Ljava/io/PrintStream;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$c;->a:Ljava/io/PrintStream;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$c;->a:Ljava/io/PrintStream;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,50 @@
|
|||
.class public final Lrx/exceptions/CompositeException$d;
|
||||
.super Lrx/exceptions/CompositeException$b;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/CompositeException;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "d"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/io/PrintWriter;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/io/PrintWriter;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lrx/exceptions/CompositeException$b;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException$d;->a:Ljava/io/PrintWriter;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$d;->a:Ljava/io/PrintWriter;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException$d;->a:Ljava/io/PrintWriter;
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,635 @@
|
|||
.class public final Lrx/exceptions/CompositeException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "CompositeException.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/exceptions/CompositeException$a;,
|
||||
Lrx/exceptions/CompositeException$d;,
|
||||
Lrx/exceptions/CompositeException$c;,
|
||||
Lrx/exceptions/CompositeException$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x29ffcc6947b49592L
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public cause:Ljava/lang/Throwable;
|
||||
|
||||
.field public final exceptions:Ljava/util/List;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final message:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/util/Collection;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Collection<",
|
||||
"+",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedHashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/Throwable;
|
||||
|
||||
instance-of v3, v2, Lrx/exceptions/CompositeException;
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
check-cast v2, Lrx/exceptions/CompositeException;
|
||||
|
||||
iget-object v2, v2, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/util/AbstractCollection;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
new-instance v2, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {v2}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, " exceptions occurred. "
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->message:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public varargs constructor <init>([Ljava/lang/Throwable;)V
|
||||
.locals 6
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/RuntimeException;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/LinkedHashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
array-length v2, p1
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v3, v2, :cond_2
|
||||
|
||||
aget-object v4, p1, v3
|
||||
|
||||
instance-of v5, v4, Lrx/exceptions/CompositeException;
|
||||
|
||||
if-eqz v5, :cond_0
|
||||
|
||||
check-cast v4, Lrx/exceptions/CompositeException;
|
||||
|
||||
iget-object v4, v4, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/util/AbstractCollection;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance v4, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {v4}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
invoke-virtual {v0, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
:goto_1
|
||||
add-int/lit8 v3, v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {v1, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
||||
|
||||
invoke-static {v1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
new-instance p1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/List;->size()I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, " exceptions occurred. "
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Lrx/exceptions/CompositeException;->message:Ljava/lang/String;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
|
||||
.locals 5
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 p3, 0xa
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_0
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
const-string v4, "\t\tat "
|
||||
|
||||
invoke-virtual {p1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
if-eqz p3, :cond_1
|
||||
|
||||
const-string p3, "\tCaused by: "
|
||||
|
||||
invoke-virtual {p1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string p3, ""
|
||||
|
||||
invoke-virtual {p0, p1, p2, p3}, Lrx/exceptions/CompositeException;->a(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final b(Lrx/exceptions/CompositeException$b;)V
|
||||
.locals 7
|
||||
|
||||
new-instance v0, Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x80
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
||||
|
||||
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0xa
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/RuntimeException;->getStackTrace()[Ljava/lang/StackTraceElement;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
array-length v3, v2
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v4, v3, :cond_0
|
||||
|
||||
aget-object v5, v2, v4
|
||||
|
||||
const-string v6, "\tat "
|
||||
|
||||
invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
add-int/lit8 v4, v4, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
:goto_1
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_1
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/lang/Throwable;
|
||||
|
||||
const-string v5, " ComposedException "
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v5, " :\n"
|
||||
|
||||
invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v5, "\t"
|
||||
|
||||
invoke-virtual {p0, v0, v4, v5}, Lrx/exceptions/CompositeException;->a(Ljava/lang/StringBuilder;Ljava/lang/Throwable;Ljava/lang/String;)V
|
||||
|
||||
add-int/2addr v3, v2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {p1}, Lrx/exceptions/CompositeException$b;->a()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
monitor-enter v1
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/exceptions/CompositeException$b;->b(Ljava/lang/Object;)V
|
||||
|
||||
monitor-exit v1
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
monitor-exit v1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public declared-synchronized getCause()Ljava/lang/Throwable;
|
||||
.locals 8
|
||||
|
||||
monitor-enter p0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
|
||||
|
||||
if-nez v0, :cond_b
|
||||
|
||||
new-instance v0, Lrx/exceptions/CompositeException$a;
|
||||
|
||||
invoke-direct {v0}, Lrx/exceptions/CompositeException$a;-><init>()V
|
||||
|
||||
new-instance v1, Ljava/util/HashSet;
|
||||
|
||||
invoke-direct {v1}, Ljava/util/HashSet;-><init>()V
|
||||
|
||||
iget-object v2, p0, Lrx/exceptions/CompositeException;->exceptions:Ljava/util/List;
|
||||
|
||||
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
if-eqz v4, :cond_a
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
check-cast v4, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v1, v4}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-eqz v5, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v1, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
new-instance v5, Ljava/util/ArrayList;
|
||||
|
||||
invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
if-eqz v6, :cond_4
|
||||
|
||||
if-ne v6, v4, :cond_2
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
if-eqz v7, :cond_4
|
||||
|
||||
if-ne v7, v6, :cond_3
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_3
|
||||
invoke-virtual {v6}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
:goto_2
|
||||
invoke-virtual {v5}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
:goto_3
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_6
|
||||
|
||||
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
check-cast v6, Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v1, v6}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v7
|
||||
|
||||
if-eqz v7, :cond_5
|
||||
|
||||
new-instance v4, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string v6, "Duplicate found in causal chain so cropping to prevent loop ..."
|
||||
|
||||
invoke-direct {v4, v6}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v1, v6}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
:try_start_1
|
||||
invoke-virtual {v3, v4}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
:try_start_2
|
||||
invoke-virtual {v3}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
if-eqz v4, :cond_0
|
||||
|
||||
if-ne v4, v3, :cond_7
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_7
|
||||
:goto_4
|
||||
invoke-virtual {v4}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_9
|
||||
|
||||
if-ne v3, v4, :cond_8
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:cond_8
|
||||
invoke-virtual {v4}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_9
|
||||
:goto_5
|
||||
move-object v3, v4
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_a
|
||||
iput-object v0, p0, Lrx/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
|
||||
|
||||
:cond_b
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->cause:Ljava/lang/Throwable;
|
||||
:try_end_2
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
return-object v0
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
monitor-exit p0
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public getMessage()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lrx/exceptions/CompositeException;->message:Ljava/lang/String;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public printStackTrace()V
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Ljava/lang/System;->err:Ljava/io/PrintStream;
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/exceptions/CompositeException;->printStackTrace(Ljava/io/PrintStream;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public printStackTrace(Ljava/io/PrintStream;)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lrx/exceptions/CompositeException$c;
|
||||
|
||||
invoke-direct {v0, p1}, Lrx/exceptions/CompositeException$c;-><init>(Ljava/io/PrintStream;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/exceptions/CompositeException;->b(Lrx/exceptions/CompositeException$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public printStackTrace(Ljava/io/PrintWriter;)V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Lrx/exceptions/CompositeException$d;
|
||||
|
||||
invoke-direct {v0, p1}, Lrx/exceptions/CompositeException$d;-><init>(Ljava/io/PrintWriter;)V
|
||||
|
||||
invoke-virtual {p0, v0}, Lrx/exceptions/CompositeException;->b(Lrx/exceptions/CompositeException$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,25 @@
|
|||
.class public Lrx/exceptions/MissingBackpressureException;
|
||||
.super Ljava/lang/Exception;
|
||||
.source "MissingBackpressureException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x64a044776671d702L
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Exception;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,17 @@
|
|||
.class public final Lrx/exceptions/OnCompletedFailedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnCompletedFailedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x77a98e42bd159a4aL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,29 @@
|
|||
.class public Lrx/exceptions/OnErrorFailedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorFailedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x5d19dcdff8b398bL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,47 @@
|
|||
.class public Lrx/exceptions/OnErrorNotImplementedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorNotImplementedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x576a0913e5716a6cL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/lang/Throwable;)V
|
||||
.locals 1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
:goto_1
|
||||
invoke-direct {p0, v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,72 @@
|
|||
.class public final Lrx/exceptions/OnErrorThrowable$OnNextValue$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "OnErrorThrowable.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Ljava/util/Set;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/util/HashSet;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
||||
|
||||
const-class v1, Ljava/lang/Boolean;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Character;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Byte;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Short;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Integer;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Long;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Float;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
const-class v1, Ljava/lang/Double;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
sput-object v0, Lrx/exceptions/OnErrorThrowable$OnNextValue$a;->a:Ljava/util/Set;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,164 @@
|
|||
.class public Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorThrowable.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lrx/exceptions/OnErrorThrowable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "OnNextValue"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/exceptions/OnErrorThrowable$OnNextValue$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x2ff0b792f8336acbL
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final value:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/Object;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "OnError while emitting onNext value: "
|
||||
|
||||
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
const-string v1, "null"
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v1, Lrx/exceptions/OnErrorThrowable$OnNextValue$a;->a:Ljava/util/Set;
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
instance-of v1, p1, Ljava/lang/String;
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
check-cast v1, Ljava/lang/String;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
instance-of v1, p1, Ljava/lang/Enum;
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
move-object v1, p1
|
||||
|
||||
check-cast v1, Ljava/lang/Enum;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->name()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
sget-object v1, Lr0/o/o;->f:Lr0/o/o;
|
||||
|
||||
invoke-virtual {v1}, Lr0/o/o;->b()Lr0/o/b;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
if-eqz v1, :cond_5
|
||||
|
||||
new-instance v1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v2, ".class"
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
instance-of v0, p1, Ljava/io/Serializable;
|
||||
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_4
|
||||
:try_start_0
|
||||
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_1
|
||||
iput-object p1, p0, Lrx/exceptions/OnErrorThrowable$OnNextValue;->value:Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_5
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
147
com.discord/smali_classes2/rx/exceptions/OnErrorThrowable.smali
Normal file
147
com.discord/smali_classes2/rx/exceptions/OnErrorThrowable.smali
Normal file
|
@ -0,0 +1,147 @@
|
|||
.class public final Lrx/exceptions/OnErrorThrowable;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "OnErrorThrowable.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = -0x7e77a2d646dfd3eL
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final hasValue:Z
|
||||
|
||||
.field public final value:Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
|
||||
.locals 5
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
new-instance p0, Ljava/lang/NullPointerException;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/NullPointerException;-><init>()V
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const/16 v4, 0x19
|
||||
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
add-int/lit8 v3, v2, 0x1
|
||||
|
||||
if-lt v2, v4, :cond_1
|
||||
|
||||
new-instance v1, Ljava/lang/RuntimeException;
|
||||
|
||||
const-string v2, "Stack too deep to get final cause"
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
invoke-virtual {v1}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
move v2, v3
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
:goto_1
|
||||
instance-of v2, v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
check-cast v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
|
||||
iget-object v1, v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;->value:Ljava/lang/Object;
|
||||
|
||||
if-ne v1, p1, :cond_3
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_3
|
||||
new-instance v1, Lrx/exceptions/OnErrorThrowable$OnNextValue;
|
||||
|
||||
invoke-direct {v1, p1}, Lrx/exceptions/OnErrorThrowable$OnNextValue;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
new-instance p1, Ljava/util/HashSet;
|
||||
|
||||
invoke-direct {p1}, Ljava/util/HashSet;-><init>()V
|
||||
|
||||
move-object v2, p0
|
||||
|
||||
:goto_2
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
if-eqz v3, :cond_6
|
||||
|
||||
add-int/lit8 v3, v0, 0x1
|
||||
|
||||
if-lt v0, v4, :cond_4
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_5
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
invoke-virtual {v2}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
||||
|
||||
move v0, v3
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_6
|
||||
:goto_3
|
||||
:try_start_0
|
||||
invoke-virtual {v2, v1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:catchall_0
|
||||
:goto_4
|
||||
return-object p0
|
||||
.end method
|
|
@ -0,0 +1,17 @@
|
|||
.class public final Lrx/exceptions/UnsubscribeFailedException;
|
||||
.super Ljava/lang/RuntimeException;
|
||||
.source "UnsubscribeFailedException.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final serialVersionUID:J = 0x3fc38e1f743aa0eeL
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue