Table of Contents

Class CdcMultipleTableHandlerException

Namespace
Excalibur.Cdc.SqlServer
Assembly
Excalibur.Cdc.SqlServer.dll

Exception thrown when multiple implementations of IDataChangeHandler are found for a specified table.

public sealed class CdcMultipleTableHandlerException : ApiException, ISerializable
Inheritance
CdcMultipleTableHandlerException
Implements
Inherited Members

Constructors

CdcMultipleTableHandlerException()

Initializes a new instance of the CdcMultipleTableHandlerException class with default values.

public CdcMultipleTableHandlerException()

CdcMultipleTableHandlerException(int, string?, Exception?)

Initializes a new instance of the CdcMultipleTableHandlerException class with a status code, message, and inner exception.

public CdcMultipleTableHandlerException(int statusCode, string? message, Exception? innerException)

Parameters

statusCode int

The HTTP status code associated with the exception.

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception.

CdcMultipleTableHandlerException(string)

Initializes a new instance of the CdcMultipleTableHandlerException class with a specified error message.

public CdcMultipleTableHandlerException(string message)

Parameters

message string

The error message that explains the reason for the exception.

CdcMultipleTableHandlerException(string, Exception?)

Initializes a new instance of the CdcMultipleTableHandlerException class with a specified error message and inner exception.

public CdcMultipleTableHandlerException(string message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception.

CdcMultipleTableHandlerException(string, int?, string?, Exception?)

Initializes a new instance of the CdcMultipleTableHandlerException class.

public CdcMultipleTableHandlerException(string tableName, int? statusCode = null, string? message = null, Exception? innerException = null)

Parameters

tableName string

The name of the table with multiple registered handlers.

statusCode int?

The HTTP status code associated with the exception. Defaults to 500 if not specified.

message string

A custom error message. Defaults to a message indicating that multiple handlers were found for the specified table.

innerException Exception

The inner exception that caused the current exception, if applicable.

Exceptions

ArgumentException

Thrown if tableName is null, empty, or consists only of whitespace.

Properties

TableName

Gets or sets the name of the table for which multiple handlers were found.

public string TableName { get; }

Property Value

string

The name of the table for which multiple handlers were found.