Class ReconnectExhaustedException
The reconnect loop spent its budget of attempts and stopped.
Inherited Members
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 SourceReconnectExhaustedException(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 SourceAttempts
How many attempts were made. Equal to MaxAttempts.
Declaration
public int Attempts { get; }
Property Value
| Type | Description |
|---|---|
| int |
MaxAttempts
The budget that was configured, ConnectionOptions.MaxReconnectAttempts.
Declaration
public int MaxAttempts { get; }
Property Value
| Type | Description |
|---|---|
| int |