public class org.eclipse.jetty.util.MultiException extends java.lang.Exception
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.MultiException
super_class: java.lang.Exception
{
private static final java.lang.String DEFAULT_MESSAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Multiple exceptions"
private java.util.List<java.lang.Throwable> nested;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Throwable;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc "Multiple exceptions"
aconst_null
iconst_0
iconst_0
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/MultiException;
private void <init>(java.util.List<java.lang.Throwable>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "Multiple exceptions"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
2: aload 1
invokeinterface java.util.List.size:()I
ifle 4
3: aload 0
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
invokevirtual org.eclipse.jetty.util.MultiException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
4: StackMap locals: org.eclipse.jetty.util.MultiException java.util.List
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.eclipse.jetty.util.MultiException java.util.List top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 2
start local 2 6: aload 2
aload 0
if_acmpeq 8
7: aload 0
aload 2
invokevirtual org.eclipse.jetty.util.MultiException.addSuppressed:(Ljava/lang/Throwable;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/util/MultiException;
0 10 1 nested Ljava/util/List<Ljava/lang/Throwable;>;
6 8 2 t Ljava/lang/Throwable;
Signature: (Ljava/util/List<Ljava/lang/Throwable;>;)V
MethodParameters:
Name Flags
nested
public void add(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.eclipse.jetty.util.MultiException
ifeq 4
1: aload 1
checkcast org.eclipse.jetty.util.MultiException
astore 2
start local 2 2: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
aload 2
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 2 3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/MultiException;
0 6 1 e Ljava/lang/Throwable;
2 3 2 me Lorg/eclipse/jetty/util/MultiException;
MethodParameters:
Name Flags
e
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/MultiException;
public java.util.List<java.lang.Throwable> getThrowables();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnonnull 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/MultiException;
Signature: ()Ljava/util/List<Ljava/lang/Throwable;>;
public java.lang.Throwable getThrowable(int);
descriptor: (I)Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/MultiException;
0 1 1 i I
MethodParameters:
Name Flags
i
public void ifExceptionThrow();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
tableswitch { // 0 - 1
0: 3
1: 4
default: 10
}
3: StackMap locals:
StackMap stack:
goto 11
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
start local 1 5: aload 1
instanceof java.lang.Error
ifeq 7
6: aload 1
checkcast java.lang.Error
athrow
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof java.lang.Exception
ifeq 9
8: aload 1
checkcast java.lang.Exception
athrow
9: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.MultiException
dup
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokespecial org.eclipse.jetty.util.MultiException.<init>:(Ljava/util/List;)V
athrow
end local 1 10: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.MultiException
dup
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokespecial org.eclipse.jetty.util.MultiException.<init>:(Ljava/util/List;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/util/MultiException;
5 10 1 th Ljava/lang/Throwable;
Exceptions:
throws java.lang.Exception
public void ifExceptionThrowRuntime();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
tableswitch { // 0 - 1
0: 3
1: 4
default: 10
}
3: StackMap locals:
StackMap stack:
goto 11
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
start local 1 5: aload 1
instanceof java.lang.Error
ifeq 7
6: aload 1
checkcast java.lang.Error
athrow
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof java.lang.RuntimeException
ifeq 9
8: aload 1
checkcast java.lang.RuntimeException
athrow
9: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 10: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new org.eclipse.jetty.util.MultiException
dup
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokespecial org.eclipse.jetty.util.MultiException.<init>:(Ljava/util/List;)V
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/util/MultiException;
5 10 1 th Ljava/lang/Throwable;
Exceptions:
throws java.lang.Error
public void ifExceptionThrowMulti();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 4
3: new org.eclipse.jetty.util.MultiException
dup
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokespecial org.eclipse.jetty.util.MultiException.<init>:(Ljava/util/List;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/MultiException;
Exceptions:
throws org.eclipse.jetty.util.MultiException
public void ifExceptionThrowSuppressed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnull 1
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
astore 1
start local 1 3: ldc Ljava/lang/Error;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
ldc Ljava/lang/Exception;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
4: new org.eclipse.jetty.util.MultiException
dup
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokespecial org.eclipse.jetty.util.MultiException.<init>:(Ljava/util/List;)V
astore 1
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.eclipse.jetty.util.MultiException java.lang.Throwable top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Throwable
astore 2
start local 2 7: aload 2
aload 1
if_acmpeq 9
8: aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: ldc Ljava/lang/Error;
aload 1
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 12
11: aload 1
checkcast java.lang.Error
athrow
12: StackMap locals: org.eclipse.jetty.util.MultiException java.lang.Throwable
StackMap stack:
aload 1
checkcast java.lang.Exception
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/util/MultiException;
3 13 1 th Ljava/lang/Throwable;
7 9 2 s Ljava/lang/Throwable;
Exceptions:
throws java.lang.Exception
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc Lorg/eclipse/jetty/util/MultiException;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
ifnull 3
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifgt 5
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "[]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jetty.util.MultiException.nested:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/util/MultiException;
1 7 1 str Ljava/lang/StringBuilder;
}
SourceFile: "MultiException.java"