XCC/J 6.0-3

com.marklogic.xcc.exceptions
Class ContentInsertEntityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.marklogic.xcc.exceptions.XccException
              extended by com.marklogic.xcc.exceptions.RequestException
                  extended by com.marklogic.xcc.exceptions.RequestServerException
                      extended by com.marklogic.xcc.exceptions.ContentInsertException
                          extended by com.marklogic.xcc.exceptions.ContentInsertEntityException
All Implemented Interfaces:
Serializable

public class ContentInsertEntityException
extends ContentInsertException

This is a specialization of ContentInsertException that indicates the insertion faled because an XML entity embedded in the document could not be resolved. Entity resolution is not done by default, is must be enabled in the options ( ContentCreateOptions) associated with the insertion request. Entity resolution failures are not retryable.

See Also:
Serialized Form

Constructor Summary
ContentInsertEntityException(String message, Request request, Content content, String entityLocation)
           
ContentInsertEntityException(String message, Request request, Content content, String entityLocation, Throwable cause)
           
 
Method Summary
 String getEntityLocation()
          Returns the location, as a URI String, of the requested entity.
 
Methods inherited from class com.marklogic.xcc.exceptions.ContentInsertException
getContent, getContentUri
 
Methods inherited from class com.marklogic.xcc.exceptions.RequestException
appendRequestInfo, getRequest, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentInsertEntityException

public ContentInsertEntityException(String message,
                                    Request request,
                                    Content content,
                                    String entityLocation)

ContentInsertEntityException

public ContentInsertEntityException(String message,
                                    Request request,
                                    Content content,
                                    String entityLocation,
                                    Throwable cause)
Method Detail

getEntityLocation

public String getEntityLocation()
Returns the location, as a URI String, of the requested entity.

Returns:
A URI String.

XCC/J 6.0-3

Copyright © 2013 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com