Table of Contents

Class SchemaRegistryException

Namespace
Excalibur.Dispatch.Transport.Kafka
Assembly
Excalibur.Dispatch.Transport.Kafka.dll

Exception thrown when a schema registry operation fails.

public sealed class SchemaRegistryException : ApiException, ISerializable
Inheritance
SchemaRegistryException
Implements
Inherited Members
Extension Methods

Constructors

SchemaRegistryException()

Initializes a new instance of the SchemaRegistryException class.

public SchemaRegistryException()

SchemaRegistryException(string)

Initializes a new instance of the SchemaRegistryException class with a message.

public SchemaRegistryException(string message)

Parameters

message string

The error message.

SchemaRegistryException(string, Exception)

Initializes a new instance of the SchemaRegistryException class with a message and inner exception.

public SchemaRegistryException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The inner exception.

Properties

ErrorCode

Gets or sets the error code returned by the schema registry.

public int? ErrorCode { get; init; }

Property Value

int?

The error code, or null if not applicable.

SchemaId

Gets or sets the schema ID involved in the failed operation.

public int? SchemaId { get; init; }

Property Value

int?

The schema ID, or null if not applicable.

StatusCode

Gets or sets the HTTP status code returned by the schema registry.

public int? StatusCode { get; init; }

Property Value

int?

The HTTP status code, or null if not applicable.

Subject

Gets or sets the schema subject involved in the failed operation.

public string? Subject { get; init; }

Property Value

string

The schema subject, or null if not applicable.