XCC/J 3.2-9

com.marklogic.xcc.exceptions
Class ContentInsertEntityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.marklogic.xcc.exceptions.XccException
              extended bycom.marklogic.xcc.exceptions.RequestException
                  extended bycom.marklogic.xcc.exceptions.RequestServerException
                      extended bycom.marklogic.xcc.exceptions.ContentInsertException
                          extended bycom.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
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 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

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