aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common/Exceptions/NotFoundException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Common/Exceptions/NotFoundException.cs')
-rw-r--r--src/slskd/Common/Exceptions/NotFoundException.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/slskd/Common/Exceptions/NotFoundException.cs b/src/slskd/Common/Exceptions/NotFoundException.cs
index cc0f6969..414ccb4b 100644
--- a/src/slskd/Common/Exceptions/NotFoundException.cs
+++ b/src/slskd/Common/Exceptions/NotFoundException.cs
@@ -19,13 +19,11 @@ namespace slskd
{
using System;
using System.Diagnostics.CodeAnalysis;
- using System.Runtime.Serialization;
/// <summary>
/// Represents errors that originate when a searched resource can't be located.
/// </summary>
[ExcludeFromCodeCoverage]
- [Serializable]
public class NotFoundException : SlskdException
{
/// <summary>
@@ -58,15 +56,5 @@ namespace slskd
: base(message, innerException)
{
}
-
- /// <summary>
- /// Initializes a new instance of the <see cref="NotFoundException"/> 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 NotFoundException(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- }
}
} \ No newline at end of file