Package com.mongodb

Class MongoWriteException

All Implemented Interfaces:
Serializable

@Deprecated(since="2021-05-27") public class MongoWriteException extends MongoServerException
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
An exception indicating the failure of a write operation.
Since:
3.0
See Also:
  • Constructor Details

    • MongoWriteException

      public MongoWriteException(WriteError error, ServerAddress serverAddress)
      Deprecated.
      Construct an instance
      Parameters:
      error - the error
      serverAddress - the server address
  • Method Details

    • getError

      public WriteError getError()
      Deprecated.
      Gets the error.
      Returns:
      the error