GemFire 6.5

com.gemstone.gemfire.cache.client
Class ServerConnectivityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.client.ServerConnectivityException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AllConnectionsInUseException, NoAvailableLocatorsException, NoAvailableServersException, NoQueueServersAvailableException, NoSubscriptionServersAvailableException, ServerOperationException, SubscriptionNotEnabledException

public class ServerConnectivityException
extends GemFireException

A generic exception indicating that a failure has happened while communicating with a gemfire server. Subclasses of this exception provide more detail on specific failures.

Since:
5.7
See Also:
Serialized Form

Constructor Summary
ServerConnectivityException()
          Create a new instance of ServerConnectivityException without a detail message or cause.
ServerConnectivityException(String message)
          Create a new instance of ServerConnectivityException with a detail message
ServerConnectivityException(String message, Throwable cause)
          Create a new instance of ServerConnectivityException with a detail message and cause
ServerConnectivityException(Throwable cause)
          Create a new instance of ServerConnectivityException with a cause
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerConnectivityException

public ServerConnectivityException()
Create a new instance of ServerConnectivityException without a detail message or cause.


ServerConnectivityException

public ServerConnectivityException(String message)
Create a new instance of ServerConnectivityException with a detail message

Parameters:
message - the detail message

ServerConnectivityException

public ServerConnectivityException(String message,
                                   Throwable cause)
Create a new instance of ServerConnectivityException with a detail message and cause

Parameters:
message - the detail message
cause - the cause

ServerConnectivityException

public ServerConnectivityException(Throwable cause)
Create a new instance of ServerConnectivityException with a cause

Parameters:
cause - the cause

GemFire 6.5

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.