Class MissingKafkaTransactionException
The exception that is thrown when a transactional producer is used but the transaction has not been initialized.
Implements
Inherited Members
Namespace: Silverback.Messaging.Broker
Assembly: Silverback.Integration.Kafka.dll
Syntax
[ExcludeFromCodeCoverage]
public class MissingKafkaTransactionException : SilverbackException, ISerializable
Constructors
MissingKafkaTransactionException()
Initializes a new instance of the MissingKafkaTransactionException class.
Declaration
public MissingKafkaTransactionException()
MissingKafkaTransactionException(string)
Initializes a new instance of the MissingKafkaTransactionException class with the specified message.
Declaration
public MissingKafkaTransactionException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
MissingKafkaTransactionException(string, Exception)
Initializes a new instance of the MissingKafkaTransactionException class with the specified message and inner exception.
Declaration
public MissingKafkaTransactionException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The inner exception. |