public final class io.reactivex.internal.util.ExceptionHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.util.ExceptionHelper
super_class: java.lang.Object
{
public static final java.lang.Throwable TERMINATED;
descriptor: Ljava/lang/Throwable;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.reactivex.internal.util.ExceptionHelper$Termination
dup
invokespecial io.reactivex.internal.util.ExceptionHelper$Termination.<init>:()V
putstatic io.reactivex.internal.util.ExceptionHelper.TERMINATED:Ljava/lang/Throwable;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.IllegalStateException
dup
ldc "No instances!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/util/ExceptionHelper;
public static java.lang.RuntimeException wrapOrThrow(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Error
ifeq 2
1: aload 0
checkcast java.lang.Error
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.RuntimeException
ifeq 4
3: aload 0
checkcast java.lang.RuntimeException
areturn
4: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 error Ljava/lang/Throwable;
MethodParameters:
Name Flags
error
public static <T> boolean addThrowable(java.util.concurrent.atomic.AtomicReference<java.lang.Throwable>, java.lang.Throwable);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;Ljava/lang/Throwable;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 2
start local 2 1: aload 2
getstatic io.reactivex.internal.util.ExceptionHelper.TERMINATED:Ljava/lang/Throwable;
if_acmpne 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
ifnonnull 6
4: aload 1
astore 3
start local 3 5: goto 7
end local 3 6: StackMap locals:
StackMap stack:
new io.reactivex.exceptions.CompositeException
dup
iconst_2
anewarray java.lang.Throwable
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 1
aastore
invokespecial io.reactivex.exceptions.CompositeException.<init>:([Ljava/lang/Throwable;)V
astore 3
start local 3 7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
8: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 field Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
0 9 1 exception Ljava/lang/Throwable;
1 9 2 current Ljava/lang/Throwable;
5 6 3 update Ljava/lang/Throwable;
7 9 3 update Ljava/lang/Throwable;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;Ljava/lang/Throwable;)Z
MethodParameters:
Name Flags
field
exception
public static <T> java.lang.Throwable terminate(java.util.concurrent.atomic.AtomicReference<java.lang.Throwable>);
descriptor: (Ljava/util/concurrent/atomic/AtomicReference;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
start local 1 1: aload 1
getstatic io.reactivex.internal.util.ExceptionHelper.TERMINATED:Ljava/lang/Throwable;
if_acmpeq 3
2: aload 0
getstatic io.reactivex.internal.util.ExceptionHelper.TERMINATED:Ljava/lang/Throwable;
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndSet:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
3: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 field Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;
1 4 1 current Ljava/lang/Throwable;
Signature: <T:Ljava/lang/Object;>(Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Throwable;>;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
field
public static java.util.List<java.lang.Throwable> flatten(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual java.util.ArrayDeque.offer:(Ljava/lang/Object;)Z
pop
3: goto 15
4: StackMap locals: java.util.List java.util.ArrayDeque
StackMap stack:
aload 2
invokevirtual java.util.ArrayDeque.removeFirst:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 3
start local 3 5: aload 3
instanceof io.reactivex.exceptions.CompositeException
ifeq 14
6: aload 3
checkcast io.reactivex.exceptions.CompositeException
astore 4
start local 4 7: aload 4
invokevirtual io.reactivex.exceptions.CompositeException.getExceptions:()Ljava/util/List;
astore 5
start local 5 8: aload 5
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 6
start local 6 9: goto 12
10: StackMap locals: java.lang.Throwable java.util.List java.util.ArrayDeque java.lang.Throwable io.reactivex.exceptions.CompositeException java.util.List int
StackMap stack:
aload 2
aload 5
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual java.util.ArrayDeque.offerFirst:(Ljava/lang/Object;)Z
pop
11: iinc 6 -1
StackMap locals:
StackMap stack:
12: iload 6
ifge 10
end local 6 end local 5 end local 4 13: goto 15
14: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 15: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 4
16: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 t Ljava/lang/Throwable;
1 17 1 list Ljava/util/List<Ljava/lang/Throwable;>;
2 17 2 deque Ljava/util/ArrayDeque<Ljava/lang/Throwable;>;
5 15 3 e Ljava/lang/Throwable;
7 13 4 ce Lio/reactivex/exceptions/CompositeException;
8 13 5 exceptions Ljava/util/List<Ljava/lang/Throwable;>;
9 13 6 i I
Signature: (Ljava/lang/Throwable;)Ljava/util/List<Ljava/lang/Throwable;>;
MethodParameters:
Name Flags
t
public static <E extends java.lang.Throwable> java.lang.Exception throwIfThrowable(java.lang.Throwable) throws E;
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Exception;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Exception
ifeq 2
1: aload 0
checkcast java.lang.Exception
areturn
2: StackMap locals:
StackMap stack:
aload 0
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 e Ljava/lang/Throwable;
Exceptions:
throws java.lang.Throwable
Signature: <E:Ljava/lang/Throwable;>(Ljava/lang/Throwable;)Ljava/lang/Exception;^TE;
MethodParameters:
Name Flags
e
public static java.lang.String timeoutMessage(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 2 0: new java.lang.StringBuilder
dup
ldc "The source did not signal an event for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: lload 0
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
2: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 2
invokevirtual java.util.concurrent.TimeUnit.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " and has been terminated."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 timeout J
0 6 2 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeout
unit
}
SourceFile: "ExceptionHelper.java"
NestMembers:
io.reactivex.internal.util.ExceptionHelper$Termination
InnerClasses:
final Termination = io.reactivex.internal.util.ExceptionHelper$Termination of io.reactivex.internal.util.ExceptionHelper