Class BulkOperationException

All Implemented Interfaces:
Serializable

public class BulkOperationException extends DataAccessException
Is thrown when errors occur during bulk operations.
Since:
1.9
Author:
Tobias Trelle, Oliver Gierke
See Also:
  • Constructor Details

    • BulkOperationException

      public BulkOperationException(String message, com.mongodb.MongoBulkWriteException source)
      Creates a new BulkOperationException with the given message and source MongoBulkWriteException.
      Parameters:
      message - must not be null.
      source - must not be null.
  • Method Details

    • getErrors

      public List<com.mongodb.bulk.BulkWriteError> getErrors()
    • getResult

      public com.mongodb.bulk.BulkWriteResult getResult()