public class ContentInsertException extends RequestServerException
Content
object. Such failures are automatically retried up the number of
times allowed by the request's options (RequestOptions.setMaxAutoRetry(int)
).
If this exception occurs, either all retries have been exhausted,
no retries were configured, or the specific Content
instance
was not retryable ( Content.isRewindable()
).Constructor and Description |
---|
ContentInsertException(java.lang.String message,
Request request, Content content) |
ContentInsertException(java.lang.String message,
Request request, Content content,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Content |
getContent()
The
Content object
that could not be inserted. |
java.lang.String |
getContentUri()
The URI, as a String, of the
Content that
could not be inserted. |
appendRequestInfo,
getRequest,
isRetryable,
isRetryAdvised,
toString
Copyright © 2023 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may
be found at
developer.marklogic.com