ExchangeRateFormatException Class
Definition
- Namespace
- Bodu.Financial.ExchangeRates
- Assembly
- Bodu.Financial.ExchangeRates.dll
- Package
- Bodu.Financial.ExchangeRates 1.0.0
The exception thrown when an upstream exchange-rate feed returns data that cannot be interpreted as exchange-rate information - because it is malformed or omits the expected values.
public sealed class ExchangeRateFormatException : FormatException, ISerializable
- Inheritance
-
ExchangeRateFormatException
- Implements
- Inherited Members
- Extension Methods
Remarks
This is the shared format-failure type for the exchange-rate provider packages. Each provider raises it for the feed-specific reason its parser detected (malformed JSON, XML, or CSV, or missing expected rows), carrying a message that describes the failure.
Constructors
ExchangeRateFormatException()
Initializes a new instance of the ExchangeRateFormatException class.
public ExchangeRateFormatException()
ExchangeRateFormatException(string)
Initializes a new instance of the ExchangeRateFormatException class with the specified message.
public ExchangeRateFormatException(string message)
Parameters
messagestringA message that describes the failure.
ExchangeRateFormatException(string, Exception)
Initializes a new instance of the ExchangeRateFormatException class with the specified message and a reference to the underlying cause.
public ExchangeRateFormatException(string message, Exception innerException)
Parameters
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |