Show / Hide Table of Contents

Class QldbTransactionException

The root exception for all transaction related exceptions. It reports back the transaction ID.

Inheritance
System.Object
System.Exception
QldbTransactionException
TransactionAbortedException
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 Source

QldbTransactionException(String)

Initializes a new instance of the QldbTransactionException class.

Declaration
public QldbTransactionException(string transactionId)
Parameters
Type Name Description
System.String transactionId

The transaction ID.

| Improve this Doc View Source

QldbTransactionException(String, Boolean)

Initializes a new instance of the QldbTransactionException class.

Declaration
public QldbTransactionException(string transactionId, bool isSessionAlive)
Parameters
Type Name Description
System.String transactionId

The transaction ID.

System.Boolean isSessionAlive

Whether the session is still alive.

| Improve this Doc View Source

QldbTransactionException(String, Boolean, Exception)

Initializes a new instance of the QldbTransactionException class.

Declaration
public QldbTransactionException(string transactionId, bool isSessionAlive, Exception innerException)
Parameters
Type Name Description
System.String transactionId

The transaction ID.

System.Boolean isSessionAlive

Whether the session is still alive.

System.Exception innerException

The inner exception.

| Improve this Doc View Source

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.

| Improve this Doc View Source

QldbTransactionException(String, String, Boolean, Exception)

Initializes a new instance of the QldbTransactionException class.

Declaration
public QldbTransactionException(string errorMessage, string transactionId, bool isSessionAlive, Exception innerException)
Parameters
Type Name Description
System.String errorMessage

The customized error message.

System.String transactionId

The transaction ID.

System.Boolean isSessionAlive

Whether the session is still alive.

System.Exception innerException

The inner exception.

| Improve this Doc View Source

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 Source

IsSessionAlive

Gets a value indicating whether the session is still alive after this exception.

Declaration
public bool IsSessionAlive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

TransactionId

Gets the transaction ID.

Declaration
public string TransactionId { get; }
Property Value
Type Description
System.String

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX