public class sun.security.pkcs11.wrapper.PKCS11Exception extends java.lang.Exception
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.pkcs11.wrapper.PKCS11Exception
super_class: java.lang.Exception
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4877072363729195
protected long errorCode_;
descriptor: J
flags: (0x0004) ACC_PROTECTED
private static final java.util.Map<java.lang.Long, java.lang.String> errorMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Long;Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: .line 76
bipush 86
newarray 10
dup
iconst_1
1: .line 78
iconst_1
iastore
dup
iconst_2
2: .line 79
iconst_2
iastore
dup
iconst_3
3: .line 80
iconst_3
iastore
dup
iconst_4
4: .line 81
iconst_5
iastore
dup
iconst_5
5: .line 82
bipush 6
iastore
dup
bipush 6
6: .line 83
bipush 7
iastore
dup
bipush 7
7: .line 84
bipush 8
iastore
dup
bipush 8
8: .line 85
bipush 9
iastore
dup
bipush 9
9: .line 86
bipush 10
iastore
dup
bipush 10
10: .line 87
bipush 16
iastore
dup
bipush 11
11: .line 88
bipush 17
iastore
dup
bipush 12
12: .line 89
bipush 18
iastore
dup
bipush 13
13: .line 90
bipush 19
iastore
dup
bipush 14
14: .line 91
bipush 32
iastore
dup
bipush 15
15: .line 92
bipush 33
iastore
dup
bipush 16
16: .line 93
bipush 48
iastore
dup
bipush 17
17: .line 94
bipush 49
iastore
dup
bipush 18
18: .line 95
bipush 50
iastore
dup
bipush 19
19: .line 96
bipush 64
iastore
dup
bipush 20
20: .line 97
bipush 65
iastore
dup
bipush 21
21: .line 98
bipush 80
iastore
dup
bipush 22
22: .line 99
bipush 81
iastore
dup
bipush 23
23: .line 100
bipush 84
iastore
dup
bipush 24
24: .line 101
bipush 96
iastore
dup
bipush 25
25: .line 102
bipush 98
iastore
dup
bipush 26
26: .line 103
bipush 99
iastore
dup
bipush 27
27: .line 104
bipush 100
iastore
dup
bipush 28
28: .line 105
bipush 101
iastore
dup
bipush 29
29: .line 106
bipush 102
iastore
dup
bipush 30
30: .line 107
bipush 103
iastore
dup
bipush 31
31: .line 108
bipush 104
iastore
dup
bipush 32
32: .line 109
bipush 105
iastore
dup
bipush 33
33: .line 110
bipush 106
iastore
dup
bipush 34
34: .line 111
bipush 112
iastore
dup
bipush 35
35: .line 112
bipush 113
iastore
dup
bipush 36
36: .line 113
sipush 130
iastore
dup
bipush 37
37: .line 114
sipush 144
iastore
dup
bipush 38
38: .line 115
sipush 145
iastore
dup
bipush 39
39: .line 116
sipush 160
iastore
dup
bipush 40
40: .line 117
sipush 161
iastore
dup
bipush 41
41: .line 118
sipush 162
iastore
dup
bipush 42
42: .line 119
sipush 163
iastore
dup
bipush 43
43: .line 120
sipush 164
iastore
dup
bipush 44
44: .line 121
sipush 176
iastore
dup
bipush 45
45: .line 122
sipush 177
iastore
dup
bipush 46
46: .line 123
sipush 179
iastore
dup
bipush 47
47: .line 124
sipush 180
iastore
dup
bipush 48
48: .line 125
sipush 181
iastore
dup
bipush 49
49: .line 126
sipush 182
iastore
dup
bipush 50
50: .line 127
sipush 183
iastore
dup
bipush 51
51: .line 128
sipush 184
iastore
dup
bipush 52
52: .line 129
sipush 192
iastore
dup
bipush 53
53: .line 130
sipush 193
iastore
dup
bipush 54
54: .line 131
sipush 208
iastore
dup
bipush 55
55: .line 132
sipush 209
iastore
dup
bipush 56
56: .line 133
sipush 224
iastore
dup
bipush 57
57: .line 134
sipush 225
iastore
dup
bipush 58
58: .line 135
sipush 226
iastore
dup
bipush 59
59: .line 136
sipush 240
iastore
dup
bipush 60
60: .line 137
sipush 241
iastore
dup
bipush 61
61: .line 138
sipush 242
iastore
dup
bipush 62
62: .line 139
sipush 256
iastore
dup
bipush 63
63: .line 140
sipush 257
iastore
dup
bipush 64
64: .line 141
sipush 258
iastore
dup
bipush 65
65: .line 142
sipush 259
iastore
dup
bipush 66
66: .line 143
sipush 260
iastore
dup
bipush 67
67: .line 144
sipush 261
iastore
dup
bipush 68
68: .line 145
sipush 272
iastore
dup
bipush 69
69: .line 146
sipush 274
iastore
dup
bipush 70
70: .line 147
sipush 275
iastore
dup
bipush 71
71: .line 148
sipush 276
iastore
dup
bipush 72
72: .line 149
sipush 277
iastore
dup
bipush 73
73: .line 150
sipush 288
iastore
dup
bipush 74
74: .line 151
sipush 289
iastore
dup
bipush 75
75: .line 152
sipush 304
iastore
dup
bipush 76
76: .line 153
sipush 336
iastore
dup
bipush 77
77: .line 154
sipush 352
iastore
dup
bipush 78
78: .line 155
sipush 368
iastore
dup
bipush 79
79: .line 156
sipush 384
iastore
dup
bipush 80
80: .line 157
sipush 400
iastore
dup
bipush 81
81: .line 158
sipush 401
iastore
dup
bipush 82
82: .line 159
sipush 416
iastore
dup
bipush 83
83: .line 160
sipush 417
iastore
dup
bipush 84
84: .line 161
sipush 512
iastore
dup
bipush 85
85: .line 162
ldc -2147483648
iastore
86: .line 76
astore 0 /* errorCodes */
start local 0 // int[] errorCodes
87: .line 164
bipush 86
anewarray java.lang.String
dup
iconst_0
88: .line 165
ldc "CKR_OK"
aastore
dup
iconst_1
89: .line 166
ldc "CKR_CANCEL"
aastore
dup
iconst_2
90: .line 167
ldc "CKR_HOST_MEMORY"
aastore
dup
iconst_3
91: .line 168
ldc "CKR_SLOT_ID_INVALID"
aastore
dup
iconst_4
92: .line 169
ldc "CKR_GENERAL_ERROR"
aastore
dup
iconst_5
93: .line 170
ldc "CKR_FUNCTION_FAILED"
aastore
dup
bipush 6
94: .line 171
ldc "CKR_ARGUMENTS_BAD"
aastore
dup
bipush 7
95: .line 172
ldc "CKR_NO_EVENT"
aastore
dup
bipush 8
96: .line 173
ldc "CKR_NEED_TO_CREATE_THREADS"
aastore
dup
bipush 9
97: .line 174
ldc "CKR_CANT_LOCK"
aastore
dup
bipush 10
98: .line 175
ldc "CKR_ATTRIBUTE_READ_ONLY"
aastore
dup
bipush 11
99: .line 176
ldc "CKR_ATTRIBUTE_SENSITIVE"
aastore
dup
bipush 12
100: .line 177
ldc "CKR_ATTRIBUTE_TYPE_INVALID"
aastore
dup
bipush 13
101: .line 178
ldc "CKR_ATTRIBUTE_VALUE_INVALID"
aastore
dup
bipush 14
102: .line 179
ldc "CKR_DATA_INVALID"
aastore
dup
bipush 15
103: .line 180
ldc "CKR_DATA_LEN_RANGE"
aastore
dup
bipush 16
104: .line 181
ldc "CKR_DEVICE_ERROR"
aastore
dup
bipush 17
105: .line 182
ldc "CKR_DEVICE_MEMORY"
aastore
dup
bipush 18
106: .line 183
ldc "CKR_DEVICE_REMOVED"
aastore
dup
bipush 19
107: .line 184
ldc "CKR_ENCRYPTED_DATA_INVALID"
aastore
dup
bipush 20
108: .line 185
ldc "CKR_ENCRYPTED_DATA_LEN_RANGE"
aastore
dup
bipush 21
109: .line 186
ldc "CKR_FUNCTION_CANCELED"
aastore
dup
bipush 22
110: .line 187
ldc "CKR_FUNCTION_NOT_PARALLEL"
aastore
dup
bipush 23
111: .line 188
ldc "CKR_FUNCTION_NOT_SUPPORTED"
aastore
dup
bipush 24
112: .line 189
ldc "CKR_KEY_HANDLE_INVALID"
aastore
dup
bipush 25
113: .line 190
ldc "CKR_KEY_SIZE_RANGE"
aastore
dup
bipush 26
114: .line 191
ldc "CKR_KEY_TYPE_INCONSISTENT"
aastore
dup
bipush 27
115: .line 192
ldc "CKR_KEY_NOT_NEEDED"
aastore
dup
bipush 28
116: .line 193
ldc "CKR_KEY_CHANGED"
aastore
dup
bipush 29
117: .line 194
ldc "CKR_KEY_NEEDED"
aastore
dup
bipush 30
118: .line 195
ldc "CKR_KEY_INDIGESTIBLE"
aastore
dup
bipush 31
119: .line 196
ldc "CKR_KEY_FUNCTION_NOT_PERMITTED"
aastore
dup
bipush 32
120: .line 197
ldc "CKR_KEY_NOT_WRAPPABLE"
aastore
dup
bipush 33
121: .line 198
ldc "CKR_KEY_UNEXTRACTABLE"
aastore
dup
bipush 34
122: .line 199
ldc "CKR_MECHANISM_INVALID"
aastore
dup
bipush 35
123: .line 200
ldc "CKR_MECHANISM_PARAM_INVALID"
aastore
dup
bipush 36
124: .line 201
ldc "CKR_OBJECT_HANDLE_INVALID"
aastore
dup
bipush 37
125: .line 202
ldc "CKR_OPERATION_ACTIVE"
aastore
dup
bipush 38
126: .line 203
ldc "CKR_OPERATION_NOT_INITIALIZED"
aastore
dup
bipush 39
127: .line 204
ldc "CKR_PIN_INCORRECT"
aastore
dup
bipush 40
128: .line 205
ldc "CKR_PIN_INVALID"
aastore
dup
bipush 41
129: .line 206
ldc "CKR_PIN_LEN_RANGE"
aastore
dup
bipush 42
130: .line 207
ldc "CKR_PIN_EXPIRED"
aastore
dup
bipush 43
131: .line 208
ldc "CKR_PIN_LOCKED"
aastore
dup
bipush 44
132: .line 209
ldc "CKR_SESSION_CLOSED"
aastore
dup
bipush 45
133: .line 210
ldc "CKR_SESSION_COUNT"
aastore
dup
bipush 46
134: .line 211
ldc "CKR_SESSION_HANDLE_INVALID"
aastore
dup
bipush 47
135: .line 212
ldc "CKR_SESSION_PARALLEL_NOT_SUPPORTED"
aastore
dup
bipush 48
136: .line 213
ldc "CKR_SESSION_READ_ONLY"
aastore
dup
bipush 49
137: .line 214
ldc "CKR_SESSION_EXISTS"
aastore
dup
bipush 50
138: .line 215
ldc "CKR_SESSION_READ_ONLY_EXISTS"
aastore
dup
bipush 51
139: .line 216
ldc "CKR_SESSION_READ_WRITE_SO_EXISTS"
aastore
dup
bipush 52
140: .line 217
ldc "CKR_SIGNATURE_INVALID"
aastore
dup
bipush 53
141: .line 218
ldc "CKR_SIGNATURE_LEN_RANGE"
aastore
dup
bipush 54
142: .line 219
ldc "CKR_TEMPLATE_INCOMPLETE"
aastore
dup
bipush 55
143: .line 220
ldc "CKR_TEMPLATE_INCONSISTENT"
aastore
dup
bipush 56
144: .line 221
ldc "CKR_TOKEN_NOT_PRESENT"
aastore
dup
bipush 57
145: .line 222
ldc "CKR_TOKEN_NOT_RECOGNIZED"
aastore
dup
bipush 58
146: .line 223
ldc "CKR_TOKEN_WRITE_PROTECTED"
aastore
dup
bipush 59
147: .line 224
ldc "CKR_UNWRAPPING_KEY_HANDLE_INVALID"
aastore
dup
bipush 60
148: .line 225
ldc "CKR_UNWRAPPING_KEY_SIZE_RANGE"
aastore
dup
bipush 61
149: .line 226
ldc "CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT"
aastore
dup
bipush 62
150: .line 227
ldc "CKR_USER_ALREADY_LOGGED_IN"
aastore
dup
bipush 63
151: .line 228
ldc "CKR_USER_NOT_LOGGED_IN"
aastore
dup
bipush 64
152: .line 229
ldc "CKR_USER_PIN_NOT_INITIALIZED"
aastore
dup
bipush 65
153: .line 230
ldc "CKR_USER_TYPE_INVALID"
aastore
dup
bipush 66
154: .line 231
ldc "CKR_USER_ANOTHER_ALREADY_LOGGED_IN"
aastore
dup
bipush 67
155: .line 232
ldc "CKR_USER_TOO_MANY_TYPES"
aastore
dup
bipush 68
156: .line 233
ldc "CKR_WRAPPED_KEY_INVALID"
aastore
dup
bipush 69
157: .line 234
ldc "CKR_WRAPPED_KEY_LEN_RANGE"
aastore
dup
bipush 70
158: .line 235
ldc "CKR_WRAPPING_KEY_HANDLE_INVALID"
aastore
dup
bipush 71
159: .line 236
ldc "CKR_WRAPPING_KEY_SIZE_RANGE"
aastore
dup
bipush 72
160: .line 237
ldc "CKR_WRAPPING_KEY_TYPE_INCONSISTENT"
aastore
dup
bipush 73
161: .line 238
ldc "CKR_RANDOM_SEED_NOT_SUPPORTED"
aastore
dup
bipush 74
162: .line 239
ldc "CKR_RANDOM_NO_RNG"
aastore
dup
bipush 75
163: .line 240
ldc "CKR_DOMAIN_PARAMS_INVALID"
aastore
dup
bipush 76
164: .line 241
ldc "CKR_BUFFER_TOO_SMALL"
aastore
dup
bipush 77
165: .line 242
ldc "CKR_SAVED_STATE_INVALID"
aastore
dup
bipush 78
166: .line 243
ldc "CKR_INFORMATION_SENSITIVE"
aastore
dup
bipush 79
167: .line 244
ldc "CKR_STATE_UNSAVEABLE"
aastore
dup
bipush 80
168: .line 245
ldc "CKR_CRYPTOKI_NOT_INITIALIZED"
aastore
dup
bipush 81
169: .line 246
ldc "CKR_CRYPTOKI_ALREADY_INITIALIZED"
aastore
dup
bipush 82
170: .line 247
ldc "CKR_MUTEX_BAD"
aastore
dup
bipush 83
171: .line 248
ldc "CKR_MUTEX_NOT_LOCKED"
aastore
dup
bipush 84
172: .line 249
ldc "CKR_FUNCTION_REJECTED"
aastore
dup
bipush 85
173: .line 250
ldc "CKR_VENDOR_DEFINED"
aastore
174: .line 164
astore 1 /* errorMessages */
start local 1 // java.lang.String[] errorMessages
175: .line 252
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic sun.security.pkcs11.wrapper.PKCS11Exception.errorMap:Ljava/util/Map;
176: .line 253
iconst_0
istore 2 /* i */
start local 2 // int i
177: goto 180
178: .line 254
StackMap locals: int[] java.lang.String[] int
StackMap stack:
getstatic sun.security.pkcs11.wrapper.PKCS11Exception.errorMap:Ljava/util/Map;
aload 0 /* errorCodes */
iload 2 /* i */
iaload
i2l
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 1 /* errorMessages */
iload 2 /* i */
aaload
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
179: .line 253
iinc 2 /* i */ 1
StackMap locals:
StackMap stack:
180: iload 2 /* i */
aload 0 /* errorCodes */
arraylength
if_icmplt 178
end local 2 // int i
end local 1 // java.lang.String[] errorMessages
end local 0 // int[] errorCodes
181: .line 256
return
LocalVariableTable:
Start End Slot Name Signature
87 181 0 errorCodes [I
175 181 1 errorMessages [Ljava/lang/String;
177 181 2 i I
public void <init>(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 // sun.security.pkcs11.wrapper.PKCS11Exception this
start local 1 // long errorCode
0: .line 263
aload 0 /* this */
invokespecial java.lang.Exception.<init>:()V
1: .line 264
aload 0 /* this */
lload 1 /* errorCode */
putfield sun.security.pkcs11.wrapper.PKCS11Exception.errorCode_:J
2: .line 265
return
end local 1 // long errorCode
end local 0 // sun.security.pkcs11.wrapper.PKCS11Exception this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/pkcs11/wrapper/PKCS11Exception;
0 3 1 errorCode J
MethodParameters:
Name Flags
errorCode
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 // sun.security.pkcs11.wrapper.PKCS11Exception this
0: .line 278
getstatic sun.security.pkcs11.wrapper.PKCS11Exception.errorMap:Ljava/util/Map;
aload 0 /* this */
getfield sun.security.pkcs11.wrapper.PKCS11Exception.errorCode_:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 1 /* message */
start local 1 // java.lang.String message
1: .line 279
aload 1 /* message */
ifnonnull 3
2: .line 280
new java.lang.StringBuilder
dup
ldc "0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield sun.security.pkcs11.wrapper.PKCS11Exception.errorCode_:J
l2i
invokestatic sun.security.pkcs11.wrapper.Functions.toFullHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1 /* message */
3: .line 282
StackMap locals: java.lang.String
StackMap stack:
aload 1 /* message */
areturn
end local 1 // java.lang.String message
end local 0 // sun.security.pkcs11.wrapper.PKCS11Exception this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/pkcs11/wrapper/PKCS11Exception;
1 4 1 message Ljava/lang/String;
public long getErrorCode();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // sun.security.pkcs11.wrapper.PKCS11Exception this
0: .line 293
aload 0 /* this */
getfield sun.security.pkcs11.wrapper.PKCS11Exception.errorCode_:J
lreturn
end local 0 // sun.security.pkcs11.wrapper.PKCS11Exception this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/wrapper/PKCS11Exception;
}
SourceFile: "PKCS11Exception.java"