XCC/J 3.2-9

com.marklogic.xcc.exceptions
Class ServerResponseException

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.ServerConnectionException
                      extended bycom.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 Mark Logic XDBC server port.

See Also:
Serialized Form

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

ServerResponseException

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

getResponseCode

public int getResponseCode()

getResponseMessage

public String getResponseMessage()

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