Search Results for

Show / Hide Table of Contents

# Class IgniteClientException

Ignite thin client exception.

##### Inheritance

System.Object
IgniteException
IgniteClientException

###### Namespace: Apache.Ignite.Core.Client

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class IgniteClientException : IgniteException

### 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
--- | --- | ---
System.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
--- | --- | ---
System.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
--- | --- | ---
System.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 with information about the exception.

##### Declaration

    public override void GetObjectData(SerializationInfo info, StreamingContext context)

##### Parameters

Type | Name | Description
--- | --- | ---
SerializationInfo | info | The that holds the serialized object data about the exception being thrown.
StreamingContext | context | The that contains contextual information about the source or destination.

#### ToString()

Returns a that represents this instance.

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
System.String |