Table of Contents

Class FinancialDataException

Namespace
Tudormobile.FinancialData
Assembly
Tudormobile.FinancialData.dll

Represents errors that occur when an API request fails or returns an unexpected response.

public class FinancialDataException : Exception, ISerializable
Inheritance
FinancialDataException
Implements
Inherited Members

Remarks

Use this exception to handle failures related to API operations, such as invalid responses, connectivity issues, or unexpected status codes. This exception is typically thrown by methods interacting with external APIs to signal that the operation could not be completed successfully.

Constructors

FinancialDataException()

Initializes a new instance of the FinancialDataException class.

public FinancialDataException()

FinancialDataException(string)

Initializes a new instance of the FinancialDataException class with a specified error message.

public FinancialDataException(string message)

Parameters

message string

The message that describes the error.

FinancialDataException(string, Exception)

Initializes a new instance of the FinancialDataException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public FinancialDataException(string message, Exception inner)

Parameters

message string

The error message that explains the reason for the exception.

inner Exception

The exception that is the cause of the current exception, or null if no inner exception is specified.