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:
- java.io.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
| 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 |
ServerResponseException
public ServerResponseException(java.lang.String message,
Request request,
int responseCode,
java.lang.String responseMessage)
ServerResponseException
public ServerResponseException(java.lang.String message,
Request request,
int responseCode,
java.lang.String responseMessage,
java.lang.Throwable cause)
getResponseCode
public int getResponseCode()
getResponseMessage
public java.lang.String getResponseMessage()
Copyright © 2015 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com