Show / Hide Table of Contents

Class ReconnectExhaustedException

The reconnect loop spent its budget of attempts and stopped.

Inheritance
object
Exception
XrplException
NotConnectedException
ReconnectExhaustedException
Inherited Members
NotConnectedException.DefaultMessage
Namespace: Xrpl.Client.Exceptions
Assembly: Xrpl.dll
Syntax
public class ReconnectExhaustedException : NotConnectedException
Remarks

This is the outcome that means the endpoint is not answering, and the one where failing over to another server is the right reaction. It is reported only under ConnectionOptions.StopAfterMaxAttempts; without it the loop keeps trying and there is nothing to report.

Constructors

| Edit this page View Source

ReconnectExhaustedException(string, int, int)

Declaration
public ReconnectExhaustedException(string message, int attempts, int maxAttempts)
Parameters
Type Name Description
string message
int attempts
int maxAttempts

Properties

| Edit this page View Source

Attempts

How many attempts were made. Equal to MaxAttempts.

Declaration
public int Attempts { get; }
Property Value
Type Description
int
| Edit this page View Source

MaxAttempts

The budget that was configured, ConnectionOptions.MaxReconnectAttempts.

Declaration
public int MaxAttempts { get; }
Property Value
Type Description
int

Extension Methods

XrplErrorClassifier.Classify(Exception)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX