diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:35:25 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:35:25 +0000 |
| commit | 674ca83ba9243a9e95a7568c797668dab6aee26a (patch) | |
| tree | 4a905b3fb1d827665a34d63f67bc5559f8e7235b /Gestor.Common/Gestor.Common.Exceptions | |
| download | gestor-674ca83ba9243a9e95a7568c797668dab6aee26a.tar.gz gestor-674ca83ba9243a9e95a7568c797668dab6aee26a.zip | |
feat: upload files
Diffstat (limited to 'Gestor.Common/Gestor.Common.Exceptions')
7 files changed, 101 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..6fc2511 --- /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)
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Gestor.Common/Gestor.Common.Exceptions/BaseException.cs b/Gestor.Common/Gestor.Common.Exceptions/BaseException.cs new file mode 100644 index 0000000..6078b23 --- /dev/null +++ b/Gestor.Common/Gestor.Common.Exceptions/BaseException.cs @@ -0,0 +1,15 @@ +using System;
+
+namespace Gestor.Common.Exceptions
+{
+ public class BaseException : Exception
+ {
+ public BaseException(string message) : base(message)
+ {
+ }
+
+ public BaseException() : base(string.Empty)
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs b/Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs new file mode 100644 index 0000000..a608b24 --- /dev/null +++ b/Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs @@ -0,0 +1,15 @@ +using System;
+
+namespace Gestor.Common.Exceptions
+{
+ public class ForbiddenException : Exception
+ {
+ public ForbiddenException(string message) : base(message)
+ {
+ }
+
+ public ForbiddenException() : base(string.Empty)
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Gestor.Common/Gestor.Common.Exceptions/MailingException.cs b/Gestor.Common/Gestor.Common.Exceptions/MailingException.cs new file mode 100644 index 0000000..9fd65a5 --- /dev/null +++ b/Gestor.Common/Gestor.Common.Exceptions/MailingException.cs @@ -0,0 +1,15 @@ +using System;
+
+namespace Gestor.Common.Exceptions
+{
+ public class MailingException : BaseException
+ {
+ public MailingException(string message) : base(message)
+ {
+ }
+
+ public MailingException() : base(string.Empty)
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs b/Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs new file mode 100644 index 0000000..f80f0dc --- /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)
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs b/Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs new file mode 100644 index 0000000..7e95254 --- /dev/null +++ b/Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs @@ -0,0 +1,15 @@ +using System;
+
+namespace Gestor.Common.Exceptions
+{
+ public class UnauthorizedException : Exception
+ {
+ public UnauthorizedException(string message) : base(message)
+ {
+ }
+
+ public UnauthorizedException() : base(string.Empty)
+ {
+ }
+ }
+}
\ No newline at end of file diff --git a/Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs b/Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs new file mode 100644 index 0000000..b2a3bca --- /dev/null +++ b/Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs @@ -0,0 +1,15 @@ +using System;
+
+namespace Gestor.Common.Exceptions
+{
+ public class ValidationException : Exception
+ {
+ public ValidationException(string message) : base(message)
+ {
+ }
+
+ public ValidationException() : base(string.Empty)
+ {
+ }
+ }
+}
\ No newline at end of file |