Class MultiMutationException

  • All Implemented Interfaces:
    Serializable

    public class MultiMutationException
    extends SubDocumentException
    Exception denoting that at least one error occurred when applying multiple mutations using the sub-document API. TODO currently we always do subdoc as multi, even if just 1 op, so may need to rewrite this None of the mutations were applied.
    Since:
    2.0
    Author:
    Simon Baslé
    See Also:
    Serialized Form
    • Method Detail

      • firstFailureIndex

        public int firstFailureIndex()
        Returns:
        the zero-based index of the first mutation spec that caused the multi mutation to fail.
      • firstFailureStatus

        public SubDocumentOpResponseStatus firstFailureStatus()
        Returns:
        the error status for the first mutation spec that caused the multi mutation to fail.