RateSeriesNotFoundException Class
Definition
The exception thrown when a requested currency pair cannot be served because the upstream feed structurally does not carry it.
public sealed class RateSeriesNotFoundException : KeyNotFoundException, ISerializable
- Inheritance
-
RateSeriesNotFoundException
- Implements
- Inherited Members
- Extension Methods
Remarks
This is the shared "pair not carried" type for the exchange-rate provider packages. It is distinct from the KeyNotFoundException a provider raises when a pair it does cover simply has no rate on a requested date; this exception signals that the feed can never resolve the pair (for example, a cross-currency pair on a feed that only quotes against a single base currency).
Constructors
RateSeriesNotFoundException()
Initializes a new instance of the RateSeriesNotFoundException class.
public RateSeriesNotFoundException()
RateSeriesNotFoundException(string)
Initializes a new instance of the RateSeriesNotFoundException class with the specified message.
public RateSeriesNotFoundException(string message)
Parameters
messagestringA message that describes the unavailable pair.
RateSeriesNotFoundException(string, Exception)
Initializes a new instance of the RateSeriesNotFoundException class with the specified message and a reference to the underlying cause.
public RateSeriesNotFoundException(string message, Exception innerException)
Parameters
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |