Table of Contents

Constructor AvroSchemaException

Namespace
AvroSharp
Assembly
AvroSharp.dll

AvroSchemaException()

Initializes a new instance of the AvroSchemaException class.

public AvroSchemaException()

AvroSchemaException(string)

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

public AvroSchemaException(string message)

Parameters

message string

The error message.

AvroSchemaException(string, Exception?)

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

public AvroSchemaException(string message, Exception? innerException)

Parameters

message string

The error message.

innerException Exception

The exception that caused this one.

AvroSchemaException(string, string?, long?, long?, Exception?)

Initializes a new instance of the AvroSchemaException class with location information.

public AvroSchemaException(string message, string? path, long? lineNumber, long? bytePositionInLine, Exception? innerException = null)

Parameters

message string

The error message, without location information.

path string

The JSON path of the offending element, for example $.fields[2].type.

lineNumber long?

The 1-based line of the offending element, when known.

bytePositionInLine long?

The 1-based UTF-8 byte column of the offending element, when known.

innerException Exception

The exception that caused this one.