public class BulkWriteException extends MongoServerException
TRANSIENT_TRANSACTION_ERROR_LABEL, UNKNOWN_TRANSACTION_COMMIT_RESULT_LABEL| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
WriteConcernError |
getWriteConcernError()
The write concern error, which may be null (in which case the list of errors will not be empty).
|
java.util.List<BulkWriteError> |
getWriteErrors()
The list of errors, which will not be null, but may be empty (if the write concern error is not null).
|
BulkWriteResult |
getWriteResult()
The result of all successfully processed write operations.
|
int |
hashCode() |
getServerAddressaddLabel, fromThrowable, fromThrowableNonNull, getCode, getErrorLabels, hasErrorLabel, removeLabelpublic BulkWriteResult getWriteResult()
public java.util.List<BulkWriteError> getWriteErrors()
public WriteConcernError getWriteConcernError()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved