public final class org.apache.cassandra.utils.Throwables
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.utils.Throwables
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/Throwables;
public static <T extends java.lang.Throwable> T merge(T, );
descriptor: (Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 existingFail TT;
0 4 1 newFail TT;
Signature: <T:Ljava/lang/Throwable;>(TT;TT;)TT;
MethodParameters:
Name Flags
existingFail
newFail
public static void maybeFail(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.apache.cassandra.utils.Throwables.failIfCanCast:(Ljava/lang/Throwable;Ljava/lang/Class;)Z
ifeq 2
1: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fail Ljava/lang/Throwable;
MethodParameters:
Name Flags
fail
public static <T extends java.lang.Throwable> void maybeFail(java.lang.Throwable, java.lang.Class<T>) throws T;
descriptor: (Ljava/lang/Throwable;Ljava/lang/Class;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.utils.Throwables.failIfCanCast:(Ljava/lang/Throwable;Ljava/lang/Class;)Z
ifeq 2
1: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fail Ljava/lang/Throwable;
0 3 1 checked Ljava/lang/Class<TT;>;
Exceptions:
throws java.lang.Throwable
Signature: <T:Ljava/lang/Throwable;>(Ljava/lang/Throwable;Ljava/lang/Class<TT;>;)V^TT;
MethodParameters:
Name Flags
fail
checked
public static <T extends java.lang.Throwable> boolean failIfCanCast(java.lang.Throwable, java.lang.Class<T>) throws T;
descriptor: (Ljava/lang/Throwable;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Error
ifeq 4
3: aload 0
checkcast java.lang.Error
athrow
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.RuntimeException
ifeq 6
5: aload 0
checkcast java.lang.RuntimeException
athrow
6: StackMap locals:
StackMap stack:
aload 1
ifnull 8
aload 1
aload 0
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 8
7: aload 1
aload 0
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Throwable
athrow
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fail Ljava/lang/Throwable;
0 9 1 checked Ljava/lang/Class<TT;>;
Exceptions:
throws java.lang.Throwable
Signature: <T:Ljava/lang/Throwable;>(Ljava/lang/Throwable;Ljava/lang/Class<TT;>;)Z^TT;
MethodParameters:
Name Flags
fail
checked
public static <E extends java.lang.Exception> void perform(org.apache.cassandra.utils.Throwables$DiscreteAction<? extends E>[]) throws E;
descriptor: ([Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/util/stream/Stream;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 actions [Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Exceptions:
throws java.lang.Exception
Signature: <E:Ljava/lang/Exception;>([Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+TE;>;)V^TE;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
actions
public static <E extends java.lang.Exception> void perform(java.util.stream.Stream<? extends org.apache.cassandra.utils.Throwables$DiscreteAction<? extends E>>, org.apache.cassandra.utils.Throwables$DiscreteAction<? extends E>[]) throws E;
descriptor: (Ljava/util/stream/Stream;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Stream.concat:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/util/stream/Stream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 stream Ljava/util/stream/Stream<+Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+TE;>;>;
0 2 1 extra [Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Exceptions:
throws java.lang.Exception
Signature: <E:Ljava/lang/Exception;>(Ljava/util/stream/Stream<+Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+TE;>;>;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+TE;>;)V^TE;
MethodParameters:
Name Flags
stream
extra
public static <E extends java.lang.Exception> void perform(java.util.stream.Stream<org.apache.cassandra.utils.Throwables$DiscreteAction<? extends E>>) throws E;
descriptor: (Ljava/util/stream/Stream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
aload 0
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
astore 1
start local 1 1: aload 1
aconst_null
invokestatic org.apache.cassandra.utils.Throwables.failIfCanCast:(Ljava/lang/Throwable;Ljava/lang/Class;)Z
ifeq 3
2: aload 1
checkcast java.lang.Exception
athrow
3: StackMap locals: java.lang.Throwable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 actions Ljava/util/stream/Stream<Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+TE;>;>;
1 4 1 fail Ljava/lang/Throwable;
Exceptions:
throws java.lang.Exception
Signature: <E:Ljava/lang/Exception;>(Ljava/util/stream/Stream<Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+TE;>;>;)V^TE;
MethodParameters:
Name Flags
actions
public static java.lang.Throwable perform(java.lang.Throwable, org.apache.cassandra.utils.Throwables$DiscreteAction<?>[]);
descriptor: (Ljava/lang/Throwable;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)Ljava/lang/Throwable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 accumulate Ljava/lang/Throwable;
0 1 1 actions [Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Signature: (Ljava/lang/Throwable;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction<*>;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
actions
public static java.lang.Throwable perform(java.lang.Throwable, java.util.stream.Stream<? extends org.apache.cassandra.utils.Throwables$DiscreteAction<?>>);
descriptor: (Ljava/lang/Throwable;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/util/Iterator;)Ljava/lang/Throwable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 accumulate Ljava/lang/Throwable;
0 1 1 actions Ljava/util/stream/Stream<+Lorg/apache/cassandra/utils/Throwables$DiscreteAction<*>;>;
Signature: (Ljava/lang/Throwable;Ljava/util/stream/Stream<+Lorg/apache/cassandra/utils/Throwables$DiscreteAction<*>;>;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
actions
public static java.lang.Throwable perform(java.lang.Throwable, java.util.Iterator<? extends org.apache.cassandra.utils.Throwables$DiscreteAction<?>>);
descriptor: (Ljava/lang/Throwable;Ljava/util/Iterator;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: goto 6
1: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.utils.Throwables$DiscreteAction
astore 2
start local 2 2: aload 2
invokeinterface org.apache.cassandra.utils.Throwables$DiscreteAction.perform:()V
3: goto 6
4: StackMap locals: java.lang.Throwable java.util.Iterator org.apache.cassandra.utils.Throwables$DiscreteAction
StackMap stack: java.lang.Throwable
astore 3
start local 3 5: aload 0
aload 3
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 0
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 accumulate Ljava/lang/Throwable;
0 8 1 actions Ljava/util/Iterator<+Lorg/apache/cassandra/utils/Throwables$DiscreteAction<*>;>;
2 6 2 action Lorg/apache/cassandra/utils/Throwables$DiscreteAction<*>;
5 6 3 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Ljava/lang/Throwable;Ljava/util/Iterator<+Lorg/apache/cassandra/utils/Throwables$DiscreteAction<*>;>;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
actions
public static void perform(java.io.File, org.apache.cassandra.utils.Throwables$FileOpType, org.apache.cassandra.utils.Throwables$DiscreteAction<? extends java.io.IOException>[]);
descriptor: (Ljava/io/File;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aload 1
aload 2
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 against Ljava/io/File;
0 2 1 opType Lorg/apache/cassandra/utils/Throwables$FileOpType;
0 2 2 actions [Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Signature: (Ljava/io/File;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+Ljava/io/IOException;>;)V
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
against
opType
actions
public static void perform(java.lang.String, org.apache.cassandra.utils.Throwables$FileOpType, org.apache.cassandra.utils.Throwables$DiscreteAction<? extends java.io.IOException>[]);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
aload 0
aload 1
aload 2
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)Ljava/lang/Throwable;
invokestatic org.apache.cassandra.utils.Throwables.maybeFail:(Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 filePath Ljava/lang/String;
0 2 1 opType Lorg/apache/cassandra/utils/Throwables$FileOpType;
0 2 2 actions [Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Signature: (Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+Ljava/io/IOException;>;)V
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
filePath
opType
actions
public static java.lang.Throwable perform(java.lang.Throwable, java.lang.String, org.apache.cassandra.utils.Throwables$FileOpType, org.apache.cassandra.utils.Throwables$DiscreteAction<? extends java.io.IOException>[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)Ljava/lang/Throwable;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 accumulate Ljava/lang/Throwable;
0 1 1 filePath Ljava/lang/String;
0 1 2 opType Lorg/apache/cassandra/utils/Throwables$FileOpType;
0 1 3 actions [Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Signature: (Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;[Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+Ljava/io/IOException;>;)Ljava/lang/Throwable;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
accumulate
filePath
opType
actions
public static java.lang.Throwable perform(java.lang.Throwable, java.lang.String, org.apache.cassandra.utils.Throwables$FileOpType, java.util.stream.Stream<org.apache.cassandra.utils.Throwables$DiscreteAction<? extends java.io.IOException>>);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
aload 2
aload 1
invokedynamic apply(Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/lang/String;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/apache/cassandra/utils/Throwables.lambda$0(Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction; (6)
(Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic org.apache.cassandra.utils.Throwables.perform:(Ljava/lang/Throwable;Ljava/util/stream/Stream;)Ljava/lang/Throwable;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 accumulate Ljava/lang/Throwable;
0 1 1 filePath Ljava/lang/String;
0 1 2 opType Lorg/apache/cassandra/utils/Throwables$FileOpType;
0 1 3 actions Ljava/util/stream/Stream<Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+Ljava/io/IOException;>;>;
Signature: (Ljava/lang/Throwable;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/util/stream/Stream<Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+Ljava/io/IOException;>;>;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
filePath
opType
actions
public static java.lang.Throwable close(java.lang.Throwable, java.lang.Iterable<? extends java.lang.AutoCloseable>);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Iterable;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.lang.Throwable java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.AutoCloseable
astore 2
start local 2 2: aload 2
invokeinterface java.lang.AutoCloseable.close:()V
3: goto 6
4: StackMap locals: java.lang.Throwable java.lang.Iterable java.lang.AutoCloseable java.util.Iterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 5: aload 0
aload 4
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 0
end local 4 end local 2 6: StackMap locals: java.lang.Throwable java.lang.Iterable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 accumulate Ljava/lang/Throwable;
0 8 1 closeables Ljava/lang/Iterable<+Ljava/lang/AutoCloseable;>;
2 6 2 closeable Ljava/lang/AutoCloseable;
5 6 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Ljava/lang/Throwable;Ljava/lang/Iterable<+Ljava/lang/AutoCloseable;>;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
accumulate
closeables
public static java.util.Optional<java.io.IOException> extractIOExceptionCause(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/util/Optional;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.io.IOException
ifeq 2
1: aload 0
checkcast java.io.IOException
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
aload 0
astore 1
start local 1 3: goto 6
4: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
instanceof java.io.IOException
ifeq 6
5: aload 1
checkcast java.io.IOException
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
dup
astore 1
ifnonnull 4
7: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 t Ljava/lang/Throwable;
3 8 1 cause Ljava/lang/Throwable;
Signature: (Ljava/lang/Throwable;)Ljava/util/Optional<Ljava/io/IOException;>;
MethodParameters:
Name Flags
t
private static org.apache.cassandra.utils.Throwables$DiscreteAction lambda$0(org.apache.cassandra.utils.Throwables$FileOpType, java.lang.String, org.apache.cassandra.utils.Throwables$DiscreteAction);
descriptor: (Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/lang/String;Lorg/apache/cassandra/utils/Throwables$DiscreteAction;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
aload 0
aload 1
invokedynamic perform(Lorg/apache/cassandra/utils/Throwables$DiscreteAction;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/lang/String;)Lorg/apache/cassandra/utils/Throwables$DiscreteAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
org/apache/cassandra/utils/Throwables.lambda$1(Lorg/apache/cassandra/utils/Throwables$DiscreteAction;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/lang/String;)V (6)
()V
1: areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 2 2 action Lorg/apache/cassandra/utils/Throwables$DiscreteAction<+Ljava/io/IOException;>;
private static void lambda$1(org.apache.cassandra.utils.Throwables$DiscreteAction, org.apache.cassandra.utils.Throwables$FileOpType, java.lang.String);
descriptor: (Lorg/apache/cassandra/utils/Throwables$DiscreteAction;Lorg/apache/cassandra/utils/Throwables$FileOpType;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
0: aload 0
invokeinterface org.apache.cassandra.utils.Throwables$DiscreteAction.perform:()V
1: goto 6
2: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 3: aload 1
getstatic org.apache.cassandra.utils.Throwables$FileOpType.WRITE:Lorg/apache/cassandra/utils/Throwables$FileOpType;
if_acmpne 4
new org.apache.cassandra.io.FSWriteError
dup
aload 3
aload 2
invokespecial org.apache.cassandra.io.FSWriteError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
goto 5
StackMap locals: java.io.IOException
StackMap stack:
4: new org.apache.cassandra.io.FSReadError
dup
aload 3
aload 2
invokespecial org.apache.cassandra.io.FSReadError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
StackMap locals:
StackMap stack: org.apache.cassandra.io.FSError
5: athrow
end local 3 6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 6 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.lang.Exception
}
SourceFile: "Throwables.java"
NestMembers:
org.apache.cassandra.utils.Throwables$DiscreteAction org.apache.cassandra.utils.Throwables$FileOpType
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract DiscreteAction = org.apache.cassandra.utils.Throwables$DiscreteAction of org.apache.cassandra.utils.Throwables
public final FileOpType = org.apache.cassandra.utils.Throwables$FileOpType of org.apache.cassandra.utils.Throwables