add element not found exception
This commit is contained in:
parent
9c7ada2260
commit
57f90eaa82
23
Contracts/Exceptions/ElementNotFoundException.cs
Normal file
23
Contracts/Exceptions/ElementNotFoundException.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Contracts.Exceptions
|
||||
{
|
||||
public class ElementNotFoundException : Exception
|
||||
{
|
||||
public ElementNotFoundException() : base("Element not founded.")
|
||||
{
|
||||
}
|
||||
|
||||
public ElementNotFoundException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public ElementNotFoundException(string message, Exception inner) : base(message, inner)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user