XCC/J 6.0-3

com.marklogic.xcc.exceptions
Class ServerConnectionException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ServerResponseException

public class ServerConnectionException
extends RequestException

This exception indicates a problem with the connection to the server. It most often is a wrapper for an IOException.

See Also:
Throwable.getCause(), Serialized Form

Constructor Summary
ServerConnectionException(String message, Request request)
           
ServerConnectionException(String message, Request request, Throwable cause)
           
 
Method Summary
 
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

ServerConnectionException

public ServerConnectionException(String message,
                                 Request request)

ServerConnectionException

public ServerConnectionException(String message,
                                 Request request,
                                 Throwable cause)

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