com.marklogic.xcc.exceptions

## Class UnexpectedResponseException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.marklogic.xcc.exceptions.XccException
      - - com.marklogic.xcc.exceptions.UnexpectedResponseException

- All Implemented Interfaces:
    java.io.Serializable

      public class UnexpectedResponseException
      extends XccException

  This exception indicates that an unrecognized response was received from the server while parsing the HTTP header of the message. This can be caused by a connection error or server timeout.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnexpectedResponseException(java.lang.String message, java.lang.String responseValue)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### UnexpectedResponseException

          public UnexpectedResponseException(java.lang.String message,
                                             java.lang.String responseValue)

Copyright © 2025 MarkLogic Corporation

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