class sun.nio.fs.UnixException extends java.lang.Exception
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.UnixException
super_class: java.lang.Exception
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7227016794320723218
private int errno;
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.UnixException.errno:I
2: aload 0
aconst_null
putfield sun.nio.fs.UnixException.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/UnixException;
0 4 1 errno I
MethodParameters:
Name Flags
errno
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.UnixException.errno:I
2: aload 0
aload 1
putfield sun.nio.fs.UnixException.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/UnixException;
0 4 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
int errno();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixException.errno:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixException;
void setError(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.nio.fs.UnixException.errno:I
1: aload 0
aconst_null
putfield sun.nio.fs.UnixException.msg:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/UnixException;
0 3 1 errno I
MethodParameters:
Name Flags
errno
java.lang.String errorString();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.nio.fs.UnixException.msg:Ljava/lang/String;
ifnull 2
1: aload 0
getfield sun.nio.fs.UnixException.msg:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixException.errno:()I
invokestatic sun.nio.fs.UnixNativeDispatcher.strerror:(I)[B
invokestatic sun.nio.fs.Util.toString:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/nio/fs/UnixException;
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.UnixException.errorString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/UnixException;
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
getfield sun.nio.fs.UnixException.msg:Ljava/lang/String;
ifnull 2
1: new java.io.IOException
dup
aload 0
getfield sun.nio.fs.UnixException.msg:Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 13
if_icmpne 4
3: 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
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixException.errno:()I
iconst_2
if_icmpne 6
5: 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
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.nio.fs.UnixException.errno:()I
bipush 17
if_icmpne 8
7: 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
8: StackMap locals:
StackMap stack:
new java.nio.file.FileSystemException
dup
aload 1
aload 2
aload 0
invokevirtual sun.nio.fs.UnixException.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/UnixException;
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.UnixException.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/UnixException;
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.UnixPath, sun.nio.fs.UnixPath);
descriptor: (Lsun/nio/fs/UnixPath;Lsun/nio/fs/UnixPath;)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.UnixPath.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.UnixPath.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.UnixException.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/UnixException;
0 8 1 file Lsun/nio/fs/UnixPath;
0 8 2 other Lsun/nio/fs/UnixPath;
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.UnixPath);
descriptor: (Lsun/nio/fs/UnixPath;)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.UnixException.rethrowAsIOException:(Lsun/nio/fs/UnixPath;Lsun/nio/fs/UnixPath;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/UnixException;
0 2 1 file Lsun/nio/fs/UnixPath;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
java.io.IOException asIOException(sun.nio.fs.UnixPath);
descriptor: (Lsun/nio/fs/UnixPath;)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.UnixPath.getPathForExceptionMessage:()Ljava/lang/String;
aconst_null
invokevirtual sun.nio.fs.UnixException.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/UnixException;
0 1 1 file Lsun/nio/fs/UnixPath;
MethodParameters:
Name Flags
file
}
SourceFile: "UnixException.java"