Class QldbTransactionException
The root exception for all transaction related exceptions. It reports back the transaction ID.
Inheritance
System.Object
System.Exception
QldbTransactionException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public class QldbTransactionException : Exception, ISerializable
Constructors
| Improve this Doc View SourceQldbTransactionException(String)
Initializes a new instance of the QldbTransactionException class.
Declaration
public QldbTransactionException(string transactionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | transactionId | The transaction ID. |
QldbTransactionException(String, Exception)
Initializes a new instance of the QldbTransactionException class.
Declaration
public QldbTransactionException(string transactionId, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | transactionId | The transaction ID. |
System.Exception | innerException | The inner exception. |
QldbTransactionException(String, String, Exception)
Initializes a new instance of the QldbTransactionException class.
Declaration
public QldbTransactionException(string errorMessage, string transactionId, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMessage | The customized error message. |
System.String | transactionId | The transaction ID. |
System.Exception | innerException | The inner exception. |
Properties
| Improve this Doc View SourceTransactionId
Gets the transaction ID.
Declaration
public string TransactionId { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Runtime.Serialization.ISerializable