Show / Hide Table of Contents

# Class TransactionOptimisticException

Exception thrown whenever Ignite transactions fail optimistically.

##### Inheritance

System.Object
System.Exception
IgniteException
TransactionOptimisticException

##### Implements

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

##### Inherited Members

System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
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.Transactions

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

##### Syntax

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

### Constructors

#### TransactionOptimisticException()

Initializes a new instance of the TransactionOptimisticException class.

##### Declaration

    public TransactionOptimisticException()

#### TransactionOptimisticException(SerializationInfo, StreamingContext)

Initializes a new instance of the TransactionOptimisticException class.

##### Declaration

    protected TransactionOptimisticException(SerializationInfo info, StreamingContext ctx)

##### Parameters

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

#### TransactionOptimisticException(String)

Initializes a new instance of the TransactionOptimisticException class.

##### Declaration

    public TransactionOptimisticException(string message)

##### Parameters

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

#### TransactionOptimisticException(String, Exception)

Initializes a new instance of the TransactionOptimisticException class.

##### Declaration

    public TransactionOptimisticException(string message, Exception cause)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | message | The message.
System.Exception | cause | The cause.

### Implements

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