Class PathMismatchException

All Implemented Interfaces:

public class PathMismatchException extends CouchbaseException
Subdocument exception thrown when the path structure conflicts with the document structure (for example, if a path mentions[0].baz, but is actually a JSON object).

Also thrown if the path for a subdocument counter operation refers to a field whose value is not an integral number.

See Also:
  • Constructor Details

    • PathMismatchException

      public PathMismatchException(ErrorContext ctx)