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
messagestringThe 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
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
messagestringThe error message, without location information.
pathstringThe JSON path of the offending element, for example
$.fields[2].type.lineNumberlong?The 1-based line of the offending element, when known.
bytePositionInLinelong?The 1-based UTF-8 byte column of the offending element, when known.
innerExceptionExceptionThe exception that caused this one.