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