ClientOfflineException Class
Namespace: Hazelcast.Exceptions
Assembly: Hazelcast.Net.dll
Represents the exception that is thrown when the Hazelcast client is invoked but is not connected.
[Serializable]
public sealed class ClientOfflineException : HazelcastException, ISerializable
Implements
Inherited Members
Remarks
The State property provides the ClientState of the client at the time the exception was thrown. The client may be either not connected at all, in which case retrying an operation will not succeed. Or, it may be temporarily disconnected and trying to reconnect, in which case retrying an operation may eventually succeed.
Constructors
Name | Description |
---|---|
ClientOfflineException(ClientState) | Initializes a new instance of the ClientOfflineException class. |
ClientOfflineException(Exception) | Initializes a new instance of the ClientOfflineException class with a reference to the inner exception that is the cause of this exception. |
ClientOfflineException(Exception, ClientState) | Initializes a new instance of the ClientOfflineException class with a reference to the inner exception that is the cause of this exception. |
ClientOfflineException(string) | Initializes a new instance of the ClientOfflineException class with a specified error message. |
ClientOfflineException(string, ClientState) | Initializes a new instance of the ClientOfflineException class with a specified error message. |
ClientOfflineException(string, Exception) | Initializes a new instance of the ClientOfflineException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
ClientOfflineException(string, Exception, ClientState) | Initializes a new instance of the ClientOfflineException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
State | Gets the client state. |
Methods
Name | Description |
---|---|
GetObjectData(SerializationInfo, StreamingContext) | When overridden in a derived class, sets the SerializationInfo with information about the exception. |