public class com.mongodb.MongoQueryException extends com.mongodb.MongoServerException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.MongoQueryException
super_class: com.mongodb.MongoServerException
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5113350133297015801
private final java.lang.String errorMessage;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.ServerAddress, int, java.lang.String);
descriptor: (Lcom/mongodb/ServerAddress;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 2
ldc "Query failed with error code %d and error message '%s' on server %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
1: aload 1
invokespecial com.mongodb.MongoServerException.<init>:(ILjava/lang/String;Lcom/mongodb/ServerAddress;)V
2: aload 0
aload 3
putfield com.mongodb.MongoQueryException.errorMessage:Ljava/lang/String;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/MongoQueryException;
0 4 1 address Lcom/mongodb/ServerAddress;
0 4 2 errorCode I
0 4 3 errorMessage Ljava/lang/String;
MethodParameters:
Name Flags
address final
errorCode final
errorMessage final
public void <init>(com.mongodb.MongoCommandException);
descriptor: (Lcom/mongodb/MongoCommandException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.mongodb.MongoCommandException.getServerAddress:()Lcom/mongodb/ServerAddress;
aload 1
invokevirtual com.mongodb.MongoCommandException.getErrorCode:()I
aload 1
invokevirtual com.mongodb.MongoCommandException.getErrorMessage:()Ljava/lang/String;
invokespecial com.mongodb.MongoQueryException.<init>:(Lcom/mongodb/ServerAddress;ILjava/lang/String;)V
1: aload 1
invokevirtual com.mongodb.MongoCommandException.getErrorLabels:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.mongodb.MongoQueryException com.mongodb.MongoCommandException top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
aload 2
invokevirtual com.mongodb.MongoQueryException.addLabel:(Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/MongoQueryException;
0 6 1 commandException Lcom/mongodb/MongoCommandException;
3 4 2 label Ljava/lang/String;
MethodParameters:
Name Flags
commandException final
public int getErrorCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.MongoQueryException.getCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/MongoQueryException;
public java.lang.String getErrorMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.MongoQueryException.errorMessage:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/MongoQueryException;
}
SourceFile: "MongoQueryException.java"