From 541f61688d3142de50827ad3ed94eca1277c2d95 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 3 Oct 2016 18:06:52 +0200 Subject: [PATCH] implements some internal web exception --- BookAStar/BookAStar/Helpers/NotIdentifiedException.cs | 10 ++++++++++ BookAStar/BookAStar/Helpers/ServiceNotAvailable1.cs | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 BookAStar/BookAStar/Helpers/NotIdentifiedException.cs create mode 100644 BookAStar/BookAStar/Helpers/ServiceNotAvailable1.cs diff --git a/BookAStar/BookAStar/Helpers/NotIdentifiedException.cs b/BookAStar/BookAStar/Helpers/NotIdentifiedException.cs new file mode 100644 index 00000000..537143ce --- /dev/null +++ b/BookAStar/BookAStar/Helpers/NotIdentifiedException.cs @@ -0,0 +1,10 @@ +using System; + +namespace BookAStar +{ + public class NotIdentifiedException : Exception + { + public NotIdentifiedException(string message) : base(message) { } + } +} + diff --git a/BookAStar/BookAStar/Helpers/ServiceNotAvailable1.cs b/BookAStar/BookAStar/Helpers/ServiceNotAvailable1.cs new file mode 100644 index 00000000..a723cf32 --- /dev/null +++ b/BookAStar/BookAStar/Helpers/ServiceNotAvailable1.cs @@ -0,0 +1,10 @@ +using System; + +namespace BookAStar +{ + public class ServiceNotAvailable : Exception + { + public ServiceNotAvailable(string message, Exception innerException) : base(message, innerException) { } + + } +} \ No newline at end of file