Table of Contents

Class CdcMissingTableHandlerException

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

Exception thrown when no implementation of IDataChangeHandler is found for a specified table.

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

Constructors

CdcMissingTableHandlerException()

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

public CdcMissingTableHandlerException()

CdcMissingTableHandlerException(int, string?, Exception?)

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

public CdcMissingTableHandlerException(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.

CdcMissingTableHandlerException(string)

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

public CdcMissingTableHandlerException(string message)

Parameters

message string

The error message that explains the reason for the exception.

CdcMissingTableHandlerException(string, Exception?)

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

public CdcMissingTableHandlerException(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.

CdcMissingTableHandlerException(string, int?, string?, Exception?)

Initializes a new instance of the CdcMissingTableHandlerException class.

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

Parameters

tableName string

The name of the table for which a handler is missing.

statusCode int?

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

message string

The custom error message. Defaults to a message indicating that no handler is 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 the handler is missing.

public string TableName { get; }

Property Value

string

The name of the table for which the handler is missing.