Skip to content

Commit dad43c3

Browse files
reimasiriak
andauthored
Remove uses of ApplicationException (#334)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
1 parent 30928d2 commit dad43c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Algorithms/Search/AStar/PathfindingException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Algorithms.Search.AStar
55
/// <summary>
66
/// A pathfinding exception is thrown when the Pathfinder encounters a critical error and can not continue.
77
/// </summary>
8-
public class PathfindingException : ApplicationException
8+
public class PathfindingException : Exception
99
{
1010
public PathfindingException(string message)
1111
: base(message)

Utilities/Exceptions/ItemNotFoundException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Utilities.Exceptions
55
/// <summary>
66
/// Signs that sequence doesn't contain any items that one was looking for.
77
/// </summary>
8-
public class ItemNotFoundException : ApplicationException
8+
public class ItemNotFoundException : Exception
99
{
1010
}
1111
}

0 commit comments

Comments
 (0)