Class CachePartialUpdateException
Exception thrown from non-transactional cache in case when update succeeded only partially.
Implements
Inherited Members
Namespace: Apache.Ignite.Core.Cache
Assembly: Apache.Ignite.Core.dll
Syntax
[Serializable]
public class CachePartialUpdateException : CacheException, ISerializable
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 |
|---|---|---|
| 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 |
|---|---|---|
| string | msg | Exception message. |
| IList<object> | failedKeys | Failed keys. |
CachePartialUpdateException(string, Exception)
Constructor.
Declaration
public CachePartialUpdateException(string msg, Exception failedKeysException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | msg | Exception message. |
| 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 |
|---|---|
| IEnumerable<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
GetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Declaration
[SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods")]
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. |