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.InetSocketAddress);
descriptor: (Ljava/io/IOException;Ljava/net/InetSocketAddress;)Ljava/io/IOException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, 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
invokevirtual java.net.InetSocketAddress.getPort:()I
istore 2
start local 2 3: aload 1
invokevirtual java.net.InetSocketAddress.getHostString:()Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 5: aload 4
aload 0
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 4
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 4
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 4
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: 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
10: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 11: 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 12 0 e Ljava/io/IOException;
0 12 1 address Ljava/net/InetSocketAddress;
3 12 2 port I
4 12 3 host Ljava/lang/String;
5 12 4 sb Ljava/lang/StringBuilder;
11 12 5 enhancedMsg Ljava/lang/String;
MethodParameters:
Name Flags
e
address
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