Show / Hide Table of Contents

# Class IgniteClientException

Ignite thin client exception.

##### Inheritance

System.Object
System.Exception
IgniteException
IgniteClientException

##### Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

##### Inherited Members

System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()

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

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

##### Syntax

    [Serializable]
    public class IgniteClientException : IgniteException, ISerializable, _Exception

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

##### Declaration

    public override void GetObjectData(SerializationInfo info, StreamingContext context)

##### Parameters

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

##### Overrides

System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

#### ToString()

Returns a System.String that represents this instance.

##### Declaration

    public override string ToString()

##### Returns

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

##### Overrides

System.Exception.ToString()

### Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception