XCC/J 6.0-3

com.marklogic.xcc.exceptions
Class ServerResponseException

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.ServerConnectionException
                      extended by com.marklogic.xcc.exceptions.ServerResponseException
All Implemented Interfaces:
Serializable

public class ServerResponseException
extends ServerConnectionException

This exception indicates that an unrecognized response was received from the server. This may indicate a misconfiguration such that XCC is connecting to something other than a MarkLogic XDBC server port.

See Also:
Serialized Form

Constructor Summary
ServerResponseException(String message, Request request, int responseCode, String responseMessage)
           
ServerResponseException(String message, Request request, int responseCode, String responseMessage, Throwable cause)
           
 
Method Summary
 int getResponseCode()
           
 String getResponseMessage()
           
 
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

ServerResponseException

public ServerResponseException(String message,
                               Request request,
                               int responseCode,
                               String responseMessage)

ServerResponseException

public ServerResponseException(String message,
                               Request request,
                               int responseCode,
                               String responseMessage,
                               Throwable cause)
Method Detail

getResponseCode

public int getResponseCode()

getResponseMessage

public String getResponseMessage()

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