Besser nachvollziehbare Exception

This commit is contained in:
2024-10-14 21:25:05 +02:00
parent 92c3c12e94
commit aaf16a9b61
2 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jugenddienst_Stunden.Exceptions;
public class NoDataException : Exception {
public NoDataException() : base("Keine Daten gefunden") { }
public NoDataException(string message) : base(message) { }
public NoDataException(string message, Exception inner) : base(message, inner) { }
}