# Package com.marklogic.xcc.exceptions

XCC Exceptions.

See: Description

- Class Summary
  Class | Description
  --- | ---
  QueryStackFrame | A query stack frame.
  XQueryStackFrame | A query stack frame.

- Exception Summary
  Exception | Description
  --- | ---
  ContentInsertEntityException | This is a specialization of `ContentInsertException` that indicates the insertion faled because an XML entity embedded in the document could not be resolved.
  ContentInsertException | This exception indicates a failed attempt to insert a `Content` object.
  JavaScriptException | A server exception resulting from an error encountered while evaluating JavaScript.
  PDCloudRequestException | This exception indicates a problem related to Progress Data Cloud.
  QueryException | A server exception resulting from an error encountered while evaluating a query.
  RequestException | The base class for exceptions related to submitting requests to the server.
  RequestPermissionException | This exception indicates missing or incorrect permissions for a server request.
  RequestServerException | This is the base class for exceptions originating in the server (XQuery syntax errors, etc) as opposed exceptions related to communicating with the server.
  RetryableJavaScriptException | A server exception resulting from an error encountered while evaluating JavaScript.
  RetryableQueryException | A specialization of `QueryException` which is always retryable, to define a distinct exception type that can be caught separately.
  RetryableXQueryException | A specialization of `XQueryException` which is always retryable, to define a distinct exception type that can be caught separately.
  ServerConnectionException | This exception indicates a problem with the connection to the server.
  ServerResponseException | This exception indicates that an unrecognized response was received from the server.
  StreamingResultException | This unchecked (runtime) exception may be thrown by some methods of streaming `ResultSequence` objects if an `IOException` occurs while processing the streaming data.
  UnexpectedResponseException | This exception indicates that an unrecognized response was received from the server while parsing the HTTP header of the message.
  UnimplementedFeatureException | This exception indicates either that some planned feature is not yet implemented in the current version of XCC, or that the server to which it is connecting does not support some the operation.
  XccConfigException | This exception indicates a configuration problem.
  XccException | Superclass of all exceptions specific to XCC.
  XQueryException | A server exception resulting from an error encountered while evaluating XQuery.

## Package com.marklogic.xcc.exceptions Description

### XCC Exceptions.

This package contains all the exceptions defined by XCC. All but one of these exceptions are related to processing requests. The other one is a an exception that can be thrown if a bad configuraton situation is encountered.

### UML Diagram of XCC Exception Hierarchy

The exception class hierarchy is shown in this UML diagrams. Click on the image to see it full-size:

Copyright © 2025 MarkLogic Corporation. All Rights Reserved.

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