Table of Contents

Class UnreachableServerLocationException

Namespace
VpnHood.Core.Client.Abstractions.Exceptions
Assembly
VpnHood.Core.Client.Abstractions.dll

The exception that is thrown when no server at the location asked for can be reached.

public class UnreachableServerLocationException : UnreachableServerException, ISerializable
Inheritance
UnreachableServerLocationException
Implements
Inherited Members

Constructors

UnreachableServerLocationException(string?, Exception?)

The exception that is thrown when no server at the location asked for can be reached.

public UnreachableServerLocationException(string? message = null, Exception? innerException = null)

Parameters

message string

The message, or null for a standard one.

innerException Exception

The exception that caused this one, or null.

Methods

Create(string?)

Creates the exception for a location, with the location in its message, unless it is the automatic one, and in its Data.

public static UnreachableServerLocationException Create(string? serverLocation)

Parameters

serverLocation string

The location asked for, or null for the automatic one.

Returns

UnreachableServerLocationException

The exception.