Base class for specific exceptions.
More...
|
| 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
-
fieldPos | Position 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
-
fieldPos | Position of the field. |
fieldValue | Value of the field. |
|
|
Base class for specific exceptions.
◆ SpecificException() [1/2]
Avro.Specific.SpecificException.SpecificException |
( |
string |
message | ) |
|
|
inline |
Initializes a new instance of the SpecificException class.
- Parameters
-
message | The 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
-
message | The error message that explains the reason for the exception. |
innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
◆ 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
-
fieldPos | Position 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
-
fieldPos | Position of the field. |
fieldValue | Value of the field. |
Implements Avro.Specific.ISpecificRecord.
◆ Schema
Schema Avro.Specific.SpecificException.Schema |
|
getabstract |
The documentation for this class was generated from the following file:
- src/apache/main/Specific/SpecificException.cs