Table of Contents

RateSeriesNotFoundException Class

Definition

Namespace
Bodu.Financial.ExchangeRates
Assembly
Bodu.Financial.dll
Package
Bodu.Financial 1.0.0
Source
RateSeriesNotFoundException.cs

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

message string

A 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

message string

A message that describes the unavailable pair.

innerException Exception

The exception that is the cause of this exception.

Applies to

ProductVersions
.NET8, 10