Avro C#
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Avro.Specific.SpecificException Class Referenceabstract

Base class for specific exceptions. More...

Inheritance diagram for Avro.Specific.SpecificException:
Avro.Specific.ISpecificRecord

Public Member Functions

 SpecificException ()
 Initializes a new instance of the SpecificException class.
 
 SpecificException (string message)
 Initializes a new instance of the SpecificException class.
 
 SpecificException (string message, Exception innerException)
 Initializes a new instance of the SpecificException class.
 
object Get (int fieldPos)
 Return the value of a field given its position in the schema. This method is not meant to be called by user code, but only by SpecificDatumReader<T> implementations.
Parameters
fieldPosPosition of the field.
Returns
Value of the field.

 
void Put (int fieldPos, object fieldValue)
 Set the value of a field given its position in the schema. This method is not meant to be called by user code, but only by SpecificDatumWriter<T> implementations.
Parameters
fieldPosPosition of the field.
fieldValueValue of the field.

 

Properties

Schema Schema [get]
 Schema of this instance.
 
- Properties inherited from Avro.Specific.ISpecificRecord

Detailed Description

Base class for specific exceptions.

Constructor & Destructor Documentation

◆ SpecificException() [1/2]

Avro.Specific.SpecificException.SpecificException ( string  message)
inline

Initializes a new instance of the SpecificException class.

Parameters
messageThe error message that explains the reason for the exception.

◆ SpecificException() [2/2]

Avro.Specific.SpecificException.SpecificException ( string  message,
Exception  innerException 
)
inline

Initializes a new instance of the SpecificException class.

Parameters
messageThe error message that explains the reason for the exception.
innerExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Member Function Documentation

◆ Get()

object Avro.Specific.SpecificException.Get ( int  fieldPos)
abstract

Return the value of a field given its position in the schema. This method is not meant to be called by user code, but only by SpecificDatumReader<T> implementations.

Parameters
fieldPosPosition of the field.
Returns
Value of the field.

Implements Avro.Specific.ISpecificRecord.

◆ Put()

void Avro.Specific.SpecificException.Put ( int  fieldPos,
object  fieldValue 
)
abstract

Set the value of a field given its position in the schema. This method is not meant to be called by user code, but only by SpecificDatumWriter<T> implementations.

Parameters
fieldPosPosition of the field.
fieldValueValue of the field.

Implements Avro.Specific.ISpecificRecord.

Property Documentation

◆ Schema

Schema Avro.Specific.SpecificException.Schema
getabstract

Schema of this instance.

Implements Avro.Specific.ISpecificRecord.


The documentation for this class was generated from the following file: