OptimisticCollisionException Constructor IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Initializes a new instance of the OptimisticCollisionException class with the specified error message, data grid name, map name, and keys that caused the exception.

Namespace: IBM.WebSphere.Caching.Map
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax

Parameters

message
Type: System String
Specifies the error message that explains the reason for the exception.
gridName
Type: System String
Specfies the name of the data grid to which the map belongs.
mapName
Type: System String
Specifies the name of the map.
key
Type: System Object
Specifies the key or array of keys that caused the optimistic collision exception to occur.
Remarks

If more than a single key caused the exception, use an array object for this parameter. Each array element identifies a single map entry that caused the exception to occur. Using array elements is useful when a Loader uses the batch update support of a Java Database Connectivity (JDBC) driver. Pass a null reference if you are unable to determine which key or set of keys caused this exception to occur.
See Also