diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-14 21:09:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-14 21:09:45 -0600 |
| commit | 3d0af40b9e85ee4dc07665ffdf16449a873a0640 (patch) | |
| tree | 2761ad1c85408c1524be6d4dd6e0e4ee45b77ec7 /src/slskd/Common/Exceptions | |
| parent | 5f2923973dc2fa5b65a602c3f30cf7c5448eda0a (diff) | |
| parent | 75e7d6accd92a07ae13c7eff16893cf577af255b (diff) | |
| download | slskd-3d0af40b9e85ee4dc07665ffdf16449a873a0640.tar.gz | |
Merge pull request #753 from slskd/relay
Rename 'Network' functionality to 'Relay'
Diffstat (limited to 'src/slskd/Common/Exceptions')
| -rw-r--r-- | src/slskd/Common/Exceptions/RelayException.cs (renamed from src/slskd/Common/Exceptions/NetworkException.cs) | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/slskd/Common/Exceptions/NetworkException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 1fb903bb..11a6bd9e 100644 --- a/src/slskd/Common/Exceptions/NetworkException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -1,4 +1,4 @@ -// <copyright file="NetworkException.cs" company="slskd Team"> +// <copyright file="RelayException.cs" company="slskd Team"> // Copyright (c) slskd Team. All rights reserved. // // This program is free software: you can redistribute it and/or modify @@ -22,31 +22,31 @@ namespace slskd using System.Runtime.Serialization; /// <summary> - /// Represents an error related to the slskd network feature. + /// Represents an error related to the slskd relay feature. /// </summary> [ExcludeFromCodeCoverage] [Serializable] - public class NetworkException : SlskdException + public class RelayException : SlskdException { /// <summary> - /// Initializes a new instance of the <see cref="NetworkException"/> class. + /// Initializes a new instance of the <see cref="RelayException"/> class. /// </summary> - public NetworkException() + public RelayException() : base() { } /// <summary> - /// Initializes a new instance of the <see cref="NetworkException"/> class with a specified error message. + /// Initializes a new instance of the <see cref="RelayException"/> class with a specified error message. /// </summary> /// <param name="message">The message that describes the error.</param> - public NetworkException(string message) + public RelayException(string message) : base(message) { } /// <summary> - /// Initializes a new instance of the <see cref="NetworkException"/> class with a specified error message and a + /// Initializes a new instance of the <see cref="RelayException"/> class with a specified error message and a /// reference to the inner exception that is the cause of this exception. /// </summary> /// <param name="message">The message that describes the error.</param> @@ -54,17 +54,17 @@ namespace slskd /// The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no /// inner exception is specified. /// </param> - public NetworkException(string message, Exception innerException) + public RelayException(string message, Exception innerException) : base(message, innerException) { } /// <summary> - /// Initializes a new instance of the <see cref="NetworkException"/> class with serialized data. + /// Initializes a new instance of the <see cref="RelayException"/> class with serialized data. /// </summary> /// <param name="info">The SerializationInfo that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The StreamingContext that contains contextual information about the source or destination.</param> - protected NetworkException(SerializationInfo info, StreamingContext context) + protected RelayException(SerializationInfo info, StreamingContext context) : base(info, context) { } |
