summaryrefslogtreecommitdiff
path: root/Gestor.Common/Gestor.Common.Exceptions
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 17:17:46 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 17:17:46 +0000
commit0440c722a221b8068bbf388c1c0c51f0faff0451 (patch)
tree169cbf90c50ff7961db82ecb606c50c2a45a1688 /Gestor.Common/Gestor.Common.Exceptions
parent225aa1499e37faf9d38257caabbadc68d78b427e (diff)
downloadgestor-master.tar.gz
gestor-master.zip
some dllsHEADmaster
Diffstat (limited to 'Gestor.Common/Gestor.Common.Exceptions')
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/AbortException.cs11
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/BaseException.cs16
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs16
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/MailingException.cs14
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs15
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs16
-rw-r--r--Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs16
7 files changed, 104 insertions, 0 deletions
diff --git a/Gestor.Common/Gestor.Common.Exceptions/AbortException.cs b/Gestor.Common/Gestor.Common.Exceptions/AbortException.cs
new file mode 100644
index 0000000..b663568
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/AbortException.cs
@@ -0,0 +1,11 @@
+using System;
+
+namespace Gestor.Common.Exceptions;
+
+public class AbortException : Exception
+{
+ public AbortException()
+ : base(string.Empty)
+ {
+ }
+}
diff --git a/Gestor.Common/Gestor.Common.Exceptions/BaseException.cs b/Gestor.Common/Gestor.Common.Exceptions/BaseException.cs
new file mode 100644
index 0000000..133229e
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/BaseException.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Gestor.Common.Exceptions;
+
+public class BaseException : Exception
+{
+ public BaseException(string message)
+ : base(message)
+ {
+ }
+
+ public BaseException()
+ : base(string.Empty)
+ {
+ }
+}
diff --git a/Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs b/Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs
new file mode 100644
index 0000000..3d4d41c
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Gestor.Common.Exceptions;
+
+public class ForbiddenException : Exception
+{
+ public ForbiddenException(string message)
+ : base(message)
+ {
+ }
+
+ public ForbiddenException()
+ : base(string.Empty)
+ {
+ }
+}
diff --git a/Gestor.Common/Gestor.Common.Exceptions/MailingException.cs b/Gestor.Common/Gestor.Common.Exceptions/MailingException.cs
new file mode 100644
index 0000000..7d4be1f
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/MailingException.cs
@@ -0,0 +1,14 @@
+namespace Gestor.Common.Exceptions;
+
+public class MailingException : BaseException
+{
+ public MailingException(string message)
+ : base(message)
+ {
+ }
+
+ public MailingException()
+ : base(string.Empty)
+ {
+ }
+}
diff --git a/Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs b/Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs
new file mode 100644
index 0000000..e5249f9
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs
@@ -0,0 +1,15 @@
+using System;
+
+namespace Gestor.Common.Exceptions;
+
+public class PermissionException : Exception
+{
+ public PermissionException()
+ {
+ }
+
+ public PermissionException(string message)
+ : base(message)
+ {
+ }
+}
diff --git a/Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs b/Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs
new file mode 100644
index 0000000..cd44f5e
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Gestor.Common.Exceptions;
+
+public class UnauthorizedException : Exception
+{
+ public UnauthorizedException(string message)
+ : base(message)
+ {
+ }
+
+ public UnauthorizedException()
+ : base(string.Empty)
+ {
+ }
+}
diff --git a/Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs b/Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs
new file mode 100644
index 0000000..62df6b2
--- /dev/null
+++ b/Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Gestor.Common.Exceptions;
+
+public class ValidationException : Exception
+{
+ public ValidationException(string message)
+ : base(message)
+ {
+ }
+
+ public ValidationException()
+ : base(string.Empty)
+ {
+ }
+}