Class IgniteClientException
Ignite thin client exception.
Implements
Inherited Members
Namespace: Apache.Ignite.Core.Client
Assembly: Apache.Ignite.Core.dll
Syntax
[Serializable]
public class IgniteClientException : IgniteException, ISerializable
Constructors
IgniteClientException()
Initializes a new instance of the IgniteClientException class.
Declaration
public IgniteClientException()
IgniteClientException(SerializationInfo, StreamingContext)
Initializes a new instance of the IgniteClientException class.
Declaration
protected IgniteClientException(SerializationInfo info, StreamingContext ctx)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | Serialization information. |
| StreamingContext | ctx | Streaming context. |
IgniteClientException(string)
Initializes a new instance of the IgniteClientException class.
Declaration
public IgniteClientException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
IgniteClientException(string, Exception)
Initializes a new instance of the IgniteClientException class.
Declaration
public IgniteClientException(string message, Exception cause)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
| Exception | cause | The cause. |
IgniteClientException(string, Exception, ClientStatusCode)
Initializes a new instance of the IgniteClientException class.
Declaration
public IgniteClientException(string message, Exception cause, ClientStatusCode statusCode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
| Exception | cause | The cause. |
| ClientStatusCode | statusCode | The error code. |
Properties
StatusCode
Gets the status code code.
Declaration
public ClientStatusCode StatusCode { get; }
Property Value
| Type | Description |
|---|---|
| ClientStatusCode |
Methods
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
| StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Overrides
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |