Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.marklogic.xcc.exceptions
Class ServerResponseException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              com.marklogic.xcc.exceptions.XccException
                  com.marklogic.xcc.exceptions.RequestException
                      com.marklogic.xcc.exceptions.ServerConnectionException
                          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()

Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 MarkLogic Corporation, All Rights Reserved.

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