Search Results for

Show / Hide Table of Contents

# Class CachePartialUpdateException

Exception thrown from non-transactional cache in case when update succeeded only partially.

##### Inheritance

System.Object
IgniteException
CacheException
CachePartialUpdateException

###### Namespace: Apache.Ignite.Core.Cache

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

##### Syntax

    public class CachePartialUpdateException : CacheException

### Constructors

#### CachePartialUpdateException()

Initializes a new instance of the CachePartialUpdateException class.

##### Declaration

    public CachePartialUpdateException()

#### CachePartialUpdateException(SerializationInfo, StreamingContext)

Initializes a new instance of the CachePartialUpdateException class.

##### Declaration

    protected CachePartialUpdateException(SerializationInfo info, StreamingContext ctx)

##### Parameters

Type | Name | Description
--- | --- | ---
SerializationInfo | info | Serialization information.
StreamingContext | ctx | Streaming context.

#### CachePartialUpdateException(String)

Initializes a new instance of the CachePartialUpdateException class.

##### Declaration

    public CachePartialUpdateException(string message)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | message | The message that describes the error.

#### CachePartialUpdateException(String, Exception)

Constructor.

##### Declaration

    public CachePartialUpdateException(string msg, Exception failedKeysException)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | msg | Exception message.
Exception | failedKeysException | Exception occurred during failed keys read/write.

#### CachePartialUpdateException(String, IList<Object>)

Constructor.

##### Declaration

    public CachePartialUpdateException(string msg, IList<object> failedKeys)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | msg | Exception message.
IList<System.Object> | failedKeys | Failed keys.

### Methods

#### GetFailedKeys<T>()

Gets the failed keys.

##### Declaration

    public IEnumerable<T> GetFailedKeys<T>()

##### Returns

Type | Description
--- | ---
IEnumerable<T> |

##### Type Parameters

Name | Description
--- | ---
T |

#### 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.