From 28957667c29a770d35ebb2013ebf4709c34da203 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Mon, 2 Sep 2024 12:20:56 -0400 Subject: [PATCH] [FIX] sonarlint fix: "Refactor this type not to derive from an outdated type 'System.ApplicationException'." --- .../dictionaries_and_hashmaps/RansomNote.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs b/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs index 60c3015..62d1c61 100644 --- a/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs +++ b/algorithm-exercises-csharp/src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/RansomNote.cs @@ -5,7 +5,7 @@ namespace algorithm_exercises_csharp.hackerrank.interview_preparation_kit; using System.Diagnostics.CodeAnalysis; using System.Collections.Generic; -public class InvalidValueException : ApplicationException +public class InvalidValueException : Exception { // constructor for the InvalidAgeException class public InvalidValueException(string msg)