Refactoring - split data, logic and model layers; custom network exception
This commit is contained in:
20
StudentHouseDashboard/Data/Exceptions.cs
Normal file
20
StudentHouseDashboard/Data/Exceptions.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Data
|
||||
{
|
||||
public class DatabaseNetworkException : WebException
|
||||
{
|
||||
public DatabaseNetworkException(string? message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public DatabaseNetworkException(string? message, Exception? innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user