Class CdcMissingTableHandlerException
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
statusCodeintThe HTTP status code associated with the exception.
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe 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
messagestringThe 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
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe 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
tableNamestringThe name of the table for which a handler is missing.
statusCodeint?The HTTP status code associated with the exception. Defaults to 500 if not specified.
messagestringThe custom error message. Defaults to a message indicating that no handler is found for the specified table.
innerExceptionExceptionThe inner exception that caused the current exception, if applicable.
Exceptions
- ArgumentException
Thrown if
tableNameis 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.