public class BulkOperationException extends DataAccessException
Constructor and Description |
---|
BulkOperationException(String message,
com.mongodb.MongoBulkWriteException source)
Creates a new
BulkOperationException with the given message and source MongoBulkWriteException . |
Modifier and Type | Method and Description |
---|---|
List<com.mongodb.bulk.BulkWriteError> |
getErrors() |
com.mongodb.bulk.BulkWriteResult |
getResult() |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BulkOperationException(String message, com.mongodb.MongoBulkWriteException source)
BulkOperationException
with the given message and source MongoBulkWriteException
.message
- must not be null.source
- must not be null.public List<com.mongodb.bulk.BulkWriteError> getErrors()
public com.mongodb.bulk.BulkWriteResult getResult()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.