public final class com.mongodb.ErrorCategory extends java.lang.Enum<com.mongodb.ErrorCategory>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: com.mongodb.ErrorCategory
super_class: java.lang.Enum
{
public static final com.mongodb.ErrorCategory UNCATEGORIZED;
descriptor: Lcom/mongodb/ErrorCategory;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.ErrorCategory DUPLICATE_KEY;
descriptor: Lcom/mongodb/ErrorCategory;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.ErrorCategory EXECUTION_TIMEOUT;
descriptor: Lcom/mongodb/ErrorCategory;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final java.util.List<java.lang.Integer> DUPLICATE_KEY_ERROR_CODES;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Integer;>;
private static final java.util.List<java.lang.Integer> EXECUTION_TIMEOUT_ERROR_CODES;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Integer;>;
private static final com.mongodb.ErrorCategory[] ENUM$VALUES;
descriptor: [Lcom/mongodb/ErrorCategory;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.mongodb.ErrorCategory
dup
ldc "UNCATEGORIZED"
iconst_0
invokespecial com.mongodb.ErrorCategory.<init>:(Ljava/lang/String;I)V
1: putstatic com.mongodb.ErrorCategory.UNCATEGORIZED:Lcom/mongodb/ErrorCategory;
2: new com.mongodb.ErrorCategory
dup
ldc "DUPLICATE_KEY"
iconst_1
invokespecial com.mongodb.ErrorCategory.<init>:(Ljava/lang/String;I)V
3: putstatic com.mongodb.ErrorCategory.DUPLICATE_KEY:Lcom/mongodb/ErrorCategory;
4: new com.mongodb.ErrorCategory
dup
ldc "EXECUTION_TIMEOUT"
iconst_2
invokespecial com.mongodb.ErrorCategory.<init>:(Ljava/lang/String;I)V
5: putstatic com.mongodb.ErrorCategory.EXECUTION_TIMEOUT:Lcom/mongodb/ErrorCategory;
iconst_3
anewarray com.mongodb.ErrorCategory
dup
iconst_0
getstatic com.mongodb.ErrorCategory.UNCATEGORIZED:Lcom/mongodb/ErrorCategory;
aastore
dup
iconst_1
getstatic com.mongodb.ErrorCategory.DUPLICATE_KEY:Lcom/mongodb/ErrorCategory;
aastore
dup
iconst_2
getstatic com.mongodb.ErrorCategory.EXECUTION_TIMEOUT:Lcom/mongodb/ErrorCategory;
aastore
putstatic com.mongodb.ErrorCategory.ENUM$VALUES:[Lcom/mongodb/ErrorCategory;
6: iconst_3
anewarray java.lang.Integer
dup
iconst_0
sipush 11000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
sipush 11001
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
sipush 12582
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic com.mongodb.ErrorCategory.DUPLICATE_KEY_ERROR_CODES:Ljava/util/List;
7: iconst_1
anewarray java.lang.Integer
dup
iconst_0
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic com.mongodb.ErrorCategory.EXECUTION_TIMEOUT_ERROR_CODES:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ErrorCategory;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public static com.mongodb.ErrorCategory fromErrorCode(int);
descriptor: (I)Lcom/mongodb/ErrorCategory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.mongodb.ErrorCategory.DUPLICATE_KEY_ERROR_CODES:Ljava/util/List;
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 2
1: getstatic com.mongodb.ErrorCategory.DUPLICATE_KEY:Lcom/mongodb/ErrorCategory;
areturn
2: StackMap locals:
StackMap stack:
getstatic com.mongodb.ErrorCategory.EXECUTION_TIMEOUT_ERROR_CODES:Ljava/util/List;
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 4
3: getstatic com.mongodb.ErrorCategory.EXECUTION_TIMEOUT:Lcom/mongodb/ErrorCategory;
areturn
4: StackMap locals:
StackMap stack:
getstatic com.mongodb.ErrorCategory.UNCATEGORIZED:Lcom/mongodb/ErrorCategory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 code I
MethodParameters:
Name Flags
code final
public static com.mongodb.ErrorCategory[] values();
descriptor: ()[Lcom/mongodb/ErrorCategory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic com.mongodb.ErrorCategory.ENUM$VALUES:[Lcom/mongodb/ErrorCategory;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray com.mongodb.ErrorCategory
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.ErrorCategory valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/ErrorCategory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lcom/mongodb/ErrorCategory;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast com.mongodb.ErrorCategory
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lcom/mongodb/ErrorCategory;>;
SourceFile: "ErrorCategory.java"