aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/src/Data/Exceptions
diff options
context:
space:
mode:
Diffstat (limited to 'code/api/src/Data/Exceptions')
-rw-r--r--code/api/src/Data/Exceptions/ForgotPasswordRequestNotFoundException.cs21
-rw-r--r--code/api/src/Data/Exceptions/UserNotFoundException.cs19
2 files changed, 0 insertions, 40 deletions
diff --git a/code/api/src/Data/Exceptions/ForgotPasswordRequestNotFoundException.cs b/code/api/src/Data/Exceptions/ForgotPasswordRequestNotFoundException.cs
deleted file mode 100644
index 02474b4..0000000
--- a/code/api/src/Data/Exceptions/ForgotPasswordRequestNotFoundException.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace IOL.GreatOffice.Api.Data.Exceptions;
-
-[Serializable]
-public class ForgotPasswordRequestNotFoundException : Exception
-{
- //
- // For guidelines regarding the creation of new exception types, see
- // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
- // and
- // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
- //
-
- public ForgotPasswordRequestNotFoundException() { }
- public ForgotPasswordRequestNotFoundException(string message) : base(message) { }
- public ForgotPasswordRequestNotFoundException(string message, Exception inner) : base(message, inner) { }
-
- protected ForgotPasswordRequestNotFoundException(
- SerializationInfo info,
- StreamingContext context
- ) : base(info, context) { }
-}
diff --git a/code/api/src/Data/Exceptions/UserNotFoundException.cs b/code/api/src/Data/Exceptions/UserNotFoundException.cs
deleted file mode 100644
index 06b57a9..0000000
--- a/code/api/src/Data/Exceptions/UserNotFoundException.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-namespace IOL.GreatOffice.Api.Data.Exceptions;
-
-[Serializable]
-public class UserNotFoundException : Exception
-{
- // For guidelines regarding the creation of new exception types, see
- // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
- // and
- // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
-
- public UserNotFoundException() { }
- public UserNotFoundException(string message) : base(message) { }
- public UserNotFoundException(string message, Exception inner) : base(message, inner) { }
-
- protected UserNotFoundException(
- SerializationInfo info,
- StreamingContext context
- ) : base(info, context) { }
-}