class sun.nio.fs.WindowsException extends java.lang.Exception
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.WindowsException
super_class: java.lang.Exception
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2765039493083748820
private int lastError;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String msg;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Exception.<init>:()V
1: aload 0
iload 1
putfield sun.nio.fs.WindowsException.lastError:I
2: aload 0
aconst_null
putfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/WindowsException;
0 4 1 lastError I
MethodParameters:
Name Flags
lastError
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Exception.<init>:()V
1: aload 0
iconst_0
putfield sun.nio.fs.WindowsException.lastError:I
2: aload 0
aload 1
putfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/fs/WindowsException;
0 4 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
int lastError();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.WindowsException.lastError:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/WindowsException;
java.lang.String errorString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
ifnonnull 4
1: aload 0
aload 0
getfield sun.nio.fs.WindowsException.lastError:I
invokestatic sun.nio.fs.WindowsNativeDispatcher.FormatMessage:(I)Ljava/lang/String;
putfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
2: aload 0
getfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
ifnonnull 4
3: aload 0
new java.lang.StringBuilder
dup
ldc "Unknown error: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.nio.fs.WindowsException.lastError:I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.fs.WindowsException.msg:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/fs/WindowsException;
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.nio.fs.WindowsException.errorString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/WindowsException;
private java.io.IOException translateToIOException(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.nio.fs.WindowsException.lastError:()I
ifne 2
1: new java.io.IOException
dup
aload 0
invokevirtual sun.nio.fs.WindowsException.errorString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.WindowsException.lastError:()I
iconst_2
if_icmpeq 3
aload 0
invokevirtual sun.nio.fs.WindowsException.lastError:()I
iconst_3
if_icmpne 4
3: StackMap locals:
StackMap stack:
new java.nio.file.NoSuchFileException
dup
aload 1
aload 2
aconst_null
invokespecial java.nio.file.NoSuchFileException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.WindowsException.lastError:()I
bipush 80
if_icmpeq 5
aload 0
invokevirtual sun.nio.fs.WindowsException.lastError:()I
sipush 183
if_icmpne 6
5: StackMap locals:
StackMap stack:
new java.nio.file.FileAlreadyExistsException
dup
aload 1
aload 2
aconst_null
invokespecial java.nio.file.FileAlreadyExistsException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.WindowsException.lastError:()I
iconst_5
if_icmpne 8
7: new java.nio.file.AccessDeniedException
dup
aload 1
aload 2
aconst_null
invokespecial java.nio.file.AccessDeniedException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
8: StackMap locals:
StackMap stack:
new java.nio.file.FileSystemException
dup
aload 1
aload 2
aload 0
invokevirtual sun.nio.fs.WindowsException.errorString:()Ljava/lang/String;
invokespecial java.nio.file.FileSystemException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/WindowsException;
0 9 1 file Ljava/lang/String;
0 9 2 other Ljava/lang/String;
MethodParameters:
Name Flags
file
other
void rethrowAsIOException(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual sun.nio.fs.WindowsException.translateToIOException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/IOException;
astore 2
start local 2 1: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsException;
0 2 1 file Ljava/lang/String;
1 2 2 x Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
void rethrowAsIOException(sun.nio.fs.WindowsPath, sun.nio.fs.WindowsPath);
descriptor: (Lsun/nio/fs/WindowsPath;Lsun/nio/fs/WindowsPath;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual sun.nio.fs.WindowsPath.getPathForExceptionMessage:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 3
start local 3 3: aload 2
ifnonnull 4
aconst_null
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 2
invokevirtual sun.nio.fs.WindowsPath.getPathForExceptionMessage:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: astore 4
start local 4 6: aload 0
aload 3
aload 4
invokevirtual sun.nio.fs.WindowsException.translateToIOException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/IOException;
astore 5
start local 5 7: aload 5
athrow
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 8 0 this Lsun/nio/fs/WindowsException;
0 8 1 file Lsun/nio/fs/WindowsPath;
0 8 2 other Lsun/nio/fs/WindowsPath;
3 8 3 a Ljava/lang/String;
6 8 4 b Ljava/lang/String;
7 8 5 x Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
other
void rethrowAsIOException(sun.nio.fs.WindowsPath);
descriptor: (Lsun/nio/fs/WindowsPath;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Lsun/nio/fs/WindowsPath;Lsun/nio/fs/WindowsPath;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsException;
0 2 1 file Lsun/nio/fs/WindowsPath;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
java.io.IOException asIOException(sun.nio.fs.WindowsPath);
descriptor: (Lsun/nio/fs/WindowsPath;)Ljava/io/IOException;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.nio.fs.WindowsPath.getPathForExceptionMessage:()Ljava/lang/String;
aconst_null
invokevirtual sun.nio.fs.WindowsException.translateToIOException:(Ljava/lang/String;Ljava/lang/String;)Ljava/io/IOException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/WindowsException;
0 1 1 file Lsun/nio/fs/WindowsPath;
MethodParameters:
Name Flags
file
}
SourceFile: "WindowsException.java"