Class CollectionInsertManyException

All Implemented Interfaces:
Serializable

public class CollectionInsertManyException extends DataAPIException
See Also:
  • Constructor Details

    • CollectionInsertManyException

      public CollectionInsertManyException()
      Default constructor.
    • CollectionInsertManyException

      public CollectionInsertManyException(List<Object> insertedIds)
      Constructor with inserted IDs.
      Parameters:
      insertedIds - List of successfully inserted document IDs
    • CollectionInsertManyException

      public CollectionInsertManyException(List<Object> insertedIds, String message)
      Constructor with inserted IDs and custom message.
      Parameters:
      insertedIds - List of successfully inserted document IDs
      message - Custom error message
  • Method Details

    • getInsertedIds

      public List<Object> getInsertedIds()
      Get the list of successfully inserted document IDs.
      Returns:
      Unmodifiable list of inserted IDs