All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mongodb.InsertManyWriteConcernException Maven / Gradle / Ivy

The newest version!
package com.mongodb;

import java.util.List;
import static java.util.Collections.emptyList;

public class InsertManyWriteConcernException extends RuntimeException {

  private BulkWriteResult result;
  private List errors = emptyList();

  public InsertManyWriteConcernException(BulkWriteResult result, List errors) {
    this.result = result;
    this.errors = errors;
  }

  public BulkWriteResult getResult() {
    return result;
  }

  public List getErrors() {
    return errors;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy