public final class io.netty.channel.unix.Errors
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.unix.Errors
super_class: java.lang.Object
{
public static final int ERRNO_ENOENT_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_ENOTCONN_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_EBADF_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_EPIPE_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_ECONNRESET_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_EAGAIN_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_EWOULDBLOCK_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERRNO_EINPROGRESS_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERROR_ECONNREFUSED_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERROR_EISCONN_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERROR_EALREADY_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int ERROR_ENETUNREACH_NEGATIVE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] ERRORS;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoENOENT:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_ENOENT_NEGATIVE:I
1: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoENOTCONN:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_ENOTCONN_NEGATIVE:I
2: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoEBADF:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_EBADF_NEGATIVE:I
3: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoEPIPE:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_EPIPE_NEGATIVE:I
4: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoECONNRESET:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_ECONNRESET_NEGATIVE:I
5: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoEAGAIN:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_EAGAIN_NEGATIVE:I
6: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoEWOULDBLOCK:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_EWOULDBLOCK_NEGATIVE:I
7: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errnoEINPROGRESS:()I
ineg
putstatic io.netty.channel.unix.Errors.ERRNO_EINPROGRESS_NEGATIVE:I
8: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errorECONNREFUSED:()I
ineg
putstatic io.netty.channel.unix.Errors.ERROR_ECONNREFUSED_NEGATIVE:I
9: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errorEISCONN:()I
ineg
putstatic io.netty.channel.unix.Errors.ERROR_EISCONN_NEGATIVE:I
10: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errorEALREADY:()I
ineg
putstatic io.netty.channel.unix.Errors.ERROR_EALREADY_NEGATIVE:I
11: invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.errorENETUNREACH:()I
ineg
putstatic io.netty.channel.unix.Errors.ERROR_ENETUNREACH_NEGATIVE:I
12: sipush 512
anewarray java.lang.String
putstatic io.netty.channel.unix.Errors.ERRORS:[Ljava/lang/String;
13: iconst_0
istore 0
start local 0 14: goto 17
15: StackMap locals: int
StackMap stack:
getstatic io.netty.channel.unix.Errors.ERRORS:[Ljava/lang/String;
iload 0
iload 0
invokestatic io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods.strError:(I)Ljava/lang/String;
aastore
16: iinc 0 1
StackMap locals:
StackMap stack:
17: iload 0
getstatic io.netty.channel.unix.Errors.ERRORS:[Ljava/lang/String;
arraylength
if_icmplt 15
end local 0 18: return
LocalVariableTable:
Start End Slot Name Signature
14 18 0 i I
static void throwConnectException(java.lang.String, io.netty.channel.unix.Errors$NativeConnectException, int);
descriptor: (Ljava/lang/String;Lio/netty/channel/unix/Errors$NativeConnectException;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 1
invokevirtual io.netty.channel.unix.Errors$NativeConnectException.expectedErr:()I
if_icmpne 2
1: aload 1
athrow
2: StackMap locals:
StackMap stack:
iload 2
getstatic io.netty.channel.unix.Errors.ERROR_EALREADY_NEGATIVE:I
if_icmpne 4
3: new java.nio.channels.ConnectionPendingException
dup
invokespecial java.nio.channels.ConnectionPendingException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 2
getstatic io.netty.channel.unix.Errors.ERROR_ENETUNREACH_NEGATIVE:I
if_icmpne 6
5: new java.net.NoRouteToHostException
dup
invokespecial java.net.NoRouteToHostException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
iload 2
getstatic io.netty.channel.unix.Errors.ERROR_EISCONN_NEGATIVE:I
if_icmpne 8
7: new java.nio.channels.AlreadyConnectedException
dup
invokespecial java.nio.channels.AlreadyConnectedException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iload 2
getstatic io.netty.channel.unix.Errors.ERRNO_ENOENT_NEGATIVE:I
if_icmpne 10
9: new java.io.FileNotFoundException
dup
invokespecial java.io.FileNotFoundException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
new java.net.ConnectException
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(..) failed: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic io.netty.channel.unix.Errors.ERRORS:[Ljava/lang/String;
iload 2
ineg
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ConnectException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 method Ljava/lang/String;
0 11 1 refusedCause Lio/netty/channel/unix/Errors$NativeConnectException;
0 11 2 err I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
method
refusedCause
err
public static io.netty.channel.unix.Errors$NativeIoException newConnectionResetException(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic io.netty.channel.unix.Errors.newIOException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
astore 2
start local 2 1: aload 2
getstatic io.netty.util.internal.EmptyArrays.EMPTY_STACK_TRACE:[Ljava/lang/StackTraceElement;
invokevirtual io.netty.channel.unix.Errors$NativeIoException.setStackTrace:([Ljava/lang/StackTraceElement;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 method Ljava/lang/String;
0 3 1 errnoNegative I
1 3 2 exception Lio/netty/channel/unix/Errors$NativeIoException;
MethodParameters:
Name Flags
method
errnoNegative
public static io.netty.channel.unix.Errors$NativeIoException newIOException(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.netty.channel.unix.Errors$NativeIoException
dup
aload 0
iload 1
invokespecial io.netty.channel.unix.Errors$NativeIoException.<init>:(Ljava/lang/String;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Ljava/lang/String;
0 1 1 err I
MethodParameters:
Name Flags
method
err
public static int ioResult(java.lang.String, int, io.netty.channel.unix.Errors$NativeIoException, java.nio.channels.ClosedChannelException);
descriptor: (Ljava/lang/String;ILio/netty/channel/unix/Errors$NativeIoException;Ljava/nio/channels/ClosedChannelException;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
getstatic io.netty.channel.unix.Errors.ERRNO_EAGAIN_NEGATIVE:I
if_icmpeq 1
iload 1
getstatic io.netty.channel.unix.Errors.ERRNO_EWOULDBLOCK_NEGATIVE:I
if_icmpne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 1
aload 2
invokevirtual io.netty.channel.unix.Errors$NativeIoException.expectedErr:()I
if_icmpne 4
3: aload 2
athrow
4: StackMap locals:
StackMap stack:
iload 1
getstatic io.netty.channel.unix.Errors.ERRNO_EBADF_NEGATIVE:I
if_icmpne 6
5: aload 3
athrow
6: StackMap locals:
StackMap stack:
iload 1
getstatic io.netty.channel.unix.Errors.ERRNO_ENOTCONN_NEGATIVE:I
if_icmpne 8
7: new java.nio.channels.NotYetConnectedException
dup
invokespecial java.nio.channels.NotYetConnectedException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
iload 1
getstatic io.netty.channel.unix.Errors.ERRNO_ENOENT_NEGATIVE:I
if_icmpne 10
9: new java.io.FileNotFoundException
dup
invokespecial java.io.FileNotFoundException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic io.netty.channel.unix.Errors.newIOException:(Ljava/lang/String;I)Lio/netty/channel/unix/Errors$NativeIoException;
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 method Ljava/lang/String;
0 11 1 err I
0 11 2 resetCause Lio/netty/channel/unix/Errors$NativeIoException;
0 11 3 closedCause Ljava/nio/channels/ClosedChannelException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
method
err
resetCause
closedCause
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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 Lio/netty/channel/unix/Errors;
}
SourceFile: "Errors.java"
NestMembers:
io.netty.channel.unix.Errors$NativeConnectException io.netty.channel.unix.Errors$NativeIoException
InnerClasses:
final NativeConnectException = io.netty.channel.unix.Errors$NativeConnectException of io.netty.channel.unix.Errors
public final NativeIoException = io.netty.channel.unix.Errors$NativeIoException of io.netty.channel.unix.Errors