public final class sun.net.util.SocketExceptions
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.net.util.SocketExceptions
super_class: java.lang.Object
{
private static final boolean enhancedExceptionText;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "hostInfo"
invokestatic sun.security.util.SecurityProperties.includedInExceptions:(Ljava/lang/String;)Z
1: putstatic sun.net.util.SocketExceptions.enhancedExceptionText:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
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 Lsun/net/util/SocketExceptions;
public static java.io.IOException of(java.io.IOException, java.net.SocketAddress);
descriptor: (Ljava/io/IOException;Ljava/net/SocketAddress;)Ljava/io/IOException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.net.util.SocketExceptions.enhancedExceptionText:Z
ifeq 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.net.UnixDomainSocketAddress
ifeq 4
3: aload 0
aload 1
checkcast java.net.UnixDomainSocketAddress
invokestatic sun.net.util.SocketExceptions.ofUnixDomain:(Ljava/io/IOException;Ljava/net/UnixDomainSocketAddress;)Ljava/io/IOException;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.net.InetSocketAddress
ifeq 6
5: aload 0
aload 1
checkcast java.net.InetSocketAddress
invokestatic sun.net.util.SocketExceptions.ofInet:(Ljava/io/IOException;Ljava/net/InetSocketAddress;)Ljava/io/IOException;
areturn
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 e Ljava/io/IOException;
0 7 1 addr Ljava/net/SocketAddress;
MethodParameters:
Name Flags
e
addr
private static java.io.IOException ofInet(java.io.IOException, java.net.InetSocketAddress);
descriptor: (Ljava/io/IOException;Ljava/net/InetSocketAddress;)Ljava/io/IOException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.InetSocketAddress.getPort:()I
istore 2
start local 2 1: aload 1
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
astore 3
start local 3 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 3: aload 4
aload 0
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 4
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 4
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 4
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 4
iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 9: aload 0
aload 5
invokestatic sun.net.util.SocketExceptions.create:(Ljava/io/IOException;Ljava/lang/String;)Ljava/io/IOException;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 e Ljava/io/IOException;
0 10 1 addr Ljava/net/InetSocketAddress;
1 10 2 port I
2 10 3 host Ljava/lang/String;
3 10 4 sb Ljava/lang/StringBuilder;
9 10 5 enhancedMsg Ljava/lang/String;
MethodParameters:
Name Flags
e
addr
private static java.io.IOException ofUnixDomain(java.io.IOException, java.net.UnixDomainSocketAddress);
descriptor: (Ljava/io/IOException;Ljava/net/UnixDomainSocketAddress;)Ljava/io/IOException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.UnixDomainSocketAddress.getPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 3
aload 0
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 3
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 6: aload 0
aload 4
invokestatic sun.net.util.SocketExceptions.create:(Ljava/io/IOException;Ljava/lang/String;)Ljava/io/IOException;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 e Ljava/io/IOException;
0 7 1 addr Ljava/net/UnixDomainSocketAddress;
1 7 2 path Ljava/lang/String;
2 7 3 sb Ljava/lang/StringBuilder;
6 7 4 enhancedMsg Ljava/lang/String;
MethodParameters:
Name Flags
e
addr
private static java.io.IOException create(java.io.IOException, java.lang.String);
descriptor: (Ljava/io/IOException;Ljava/lang/String;)Ljava/io/IOException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.net.util.SocketExceptions$1
dup
aload 0
aload 1
invokespecial sun.net.util.SocketExceptions$1.<init>:(Ljava/io/IOException;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.IOException
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljava/io/IOException;
0 1 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
e
msg
}
SourceFile: "SocketExceptions.java"
NestMembers:
sun.net.util.SocketExceptions$1
InnerClasses:
sun.net.util.SocketExceptions$1