confluent-kafka-dotnet
Show / Hide Table of Contents

Class SchemaRegistryException

Represents an error returned by Confluent Schema Registry.

Inheritance
object
Exception
HttpRequestException
SchemaRegistryException
Implements
ISerializable
Inherited Members
HttpRequestException.StatusCode
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class SchemaRegistryException : HttpRequestException, ISerializable

Constructors

SchemaRegistryException(string, HttpStatusCode, int)

Initialize a new instance of SchemaRegistryException.

Declaration
public SchemaRegistryException(string message, HttpStatusCode status, int errorCode)
Parameters
Type Name Description
string message

Additional information about the error.

HttpStatusCode status

The HTTP Status Code.

int errorCode

The Confluent Schema Registry error code.

Properties

ErrorCode

An error code specific to Schema Registry of the form XXX or XXXYY. where XXX is standard http error status (400-500) and YY specific to schema registry Example: 40403 = Schema not found

Declaration
public int ErrorCode { get; }
Property Value
Type Description
int

Status

Standard HTTP response code.

Declaration
public HttpStatusCode Status { get; }
Property Value
Type Description
HttpStatusCode

Implements

ISerializable
In this article