aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common/Exceptions/RetryException.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-01-20 18:34:47 -0600
committerJP Dillingham <jp@dillingham.me>2024-01-20 18:34:47 -0600
commit26095bcf80af696a898bbfe62cf72ed1649d9eea (patch)
treeaa57a6fb990d2ec9650bf1cfdc0c6f7c95799190 /src/slskd/Common/Exceptions/RetryException.cs
parent22abf6f22f8172410c6c23567f0a5b90fc3e532d (diff)
downloadslskd-26095bcf80af696a898bbfe62cf72ed1649d9eea.tar.gz
resolve warnings
Diffstat (limited to 'src/slskd/Common/Exceptions/RetryException.cs')
-rw-r--r--src/slskd/Common/Exceptions/RetryException.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/slskd/Common/Exceptions/RetryException.cs b/src/slskd/Common/Exceptions/RetryException.cs
index c688f377..3adadd2e 100644
--- a/src/slskd/Common/Exceptions/RetryException.cs
+++ b/src/slskd/Common/Exceptions/RetryException.cs
@@ -19,13 +19,11 @@ namespace slskd
{
using System;
using System.Diagnostics.CodeAnalysis;
- using System.Runtime.Serialization;
/// <summary>
/// Represents erorrs that originate while attempting to execute retry logic.
/// </summary>
[ExcludeFromCodeCoverage]
- [Serializable]
public class RetryException : Exception
{
/// <summary>
@@ -58,15 +56,5 @@ namespace slskd
: base(message, innerException)
{
}
-
- /// <summary>
- /// Initializes a new instance of the <see cref="RetryException"/> 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 RetryException(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- }
}
} \ No newline at end of file