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
messagestringThe message, or null for a standard one.
innerExceptionExceptionThe 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
Returns
- UnreachableServerLocationException
The exception.