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