final class org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler implements com.google.common.base.Predicate<java.lang.Throwable>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler
super_class: java.lang.Object
{
private final io.netty.channel.Channel channel;
descriptor: Lio/netty/channel/Channel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean alwaysLogAtError;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.netty.channel.Channel, boolean);
descriptor: (Lio/netty/channel/Channel;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler.channel:Lio/netty/channel/Channel;
2: aload 0
iload 2
putfield org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler.alwaysLogAtError:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/transport/Message$UnexpectedChannelExceptionHandler;
0 4 1 channel Lio/netty/channel/Channel;
0 4 2 alwaysLogAtError Z
MethodParameters:
Name Flags
channel
alwaysLogAtError
public boolean apply(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "Unexpected exception during request; channel = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler.channel:Lio/netty/channel/Channel;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: goto 4
end local 2 2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: ldc "Unexpected exception during request; channel = <unprintable>"
astore 2
start local 2 4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler.alwaysLogAtError:Z
ifne 18
aload 1
instanceof java.io.IOException
ifeq 18
5: aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: getstatic org.apache.cassandra.transport.Message.ioExceptionsAtDebugLevel:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler java.lang.Throwable java.lang.String java.lang.String int top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 9: aload 3
aload 5
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 12
10: iconst_1
istore 4
11: goto 13
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
13: StackMap locals: org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler java.lang.Throwable java.lang.String java.lang.String int
StackMap stack:
iload 4
ifeq 16
14: getstatic org.apache.cassandra.transport.Message.logger:Lorg/slf4j/Logger;
aload 2
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
15: goto 19
16: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.transport.Message.logger:Lorg/slf4j/Logger;
aload 2
aload 1
invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 end local 3 17: goto 19
18: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.transport.Message.logger:Lorg/slf4j/Logger;
aload 2
aload 1
invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
19: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/cassandra/transport/Message$UnexpectedChannelExceptionHandler;
0 20 1 exception Ljava/lang/Throwable;
1 2 2 message Ljava/lang/String;
4 20 2 message Ljava/lang/String;
6 17 3 errorMessage Ljava/lang/String;
7 17 4 logAtTrace Z
9 12 5 ioException Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
exception
public boolean apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Throwable
invokevirtual org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler.apply:(Ljava/lang/Throwable;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/google/common/base/Predicate<Ljava/lang/Throwable;>;
SourceFile: "Message.java"
NestHost: org.apache.cassandra.transport.Message
InnerClasses:
final UnexpectedChannelExceptionHandler = org.apache.cassandra.transport.Message$UnexpectedChannelExceptionHandler of org.apache.cassandra.transport.Message