DocumentRejectedException

class DocumentRejectedException(val reason: RejectReason, val byteOffset: Long, val jsonPath: String? = null, detail: String? = null) : DelvaException(source)

An insert was rejected; nothing of the document is visible.

Constructors

Link copied to clipboard
constructor(reason: RejectReason, byteOffset: Long, jsonPath: String? = null, detail: String? = null)

Properties

Link copied to clipboard

Byte offset in the input stream (counting a leading BOM) where the problem was detected, or -1 if unknown.

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

JSON path of the offending value, when known; for RejectReason.TYPE_PATH_UNMATCHED, the path as it was given.

Link copied to clipboard
open val message: String?
Link copied to clipboard

Why the document was rejected.