Show / Hide Table of Contents

# Class CachePartialUpdateException

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

##### Inheritance

System.Object
System.Exception
IgniteException
CacheException
CachePartialUpdateException

##### Implements

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

##### Inherited Members

System.Exception.GetBaseException()
System.Exception.ToString()
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.Cache

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

##### Syntax

    [Serializable]
    public class CachePartialUpdateException : CacheException, ISerializable, _Exception

### 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
--- | --- | ---
System.Runtime.Serialization.SerializationInfo | info | Serialization information.
System.Runtime.Serialization.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, IList<Object>)

Constructor.

##### Declaration

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

##### Parameters

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

#### CachePartialUpdateException(String, Exception)

Constructor.

##### Declaration

    public CachePartialUpdateException(string msg, Exception failedKeysException)

##### Parameters

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

### Methods

#### GetFailedKeys<T>()

Gets the failed keys.

##### Declaration

    public IEnumerable<T> GetFailedKeys<T>()

##### Returns

Type | Description
--- | ---
System.Collections.Generic.IEnumerable<T> |

##### Type Parameters

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

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

### Implements

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