From 674ca83ba9243a9e95a7568c797668dab6aee26a Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:35:25 -0300 Subject: feat: upload files --- Gestor.Common/Gestor.Common.Exceptions/AbortException.cs | 11 +++++++++++ Gestor.Common/Gestor.Common.Exceptions/BaseException.cs | 15 +++++++++++++++ .../Gestor.Common.Exceptions/ForbiddenException.cs | 15 +++++++++++++++ .../Gestor.Common.Exceptions/MailingException.cs | 15 +++++++++++++++ .../Gestor.Common.Exceptions/PermissionException.cs | 15 +++++++++++++++ .../Gestor.Common.Exceptions/UnauthorizedException.cs | 15 +++++++++++++++ .../Gestor.Common.Exceptions/ValidationException.cs | 15 +++++++++++++++ 7 files changed, 101 insertions(+) create mode 100644 Gestor.Common/Gestor.Common.Exceptions/AbortException.cs create mode 100644 Gestor.Common/Gestor.Common.Exceptions/BaseException.cs create mode 100644 Gestor.Common/Gestor.Common.Exceptions/ForbiddenException.cs create mode 100644 Gestor.Common/Gestor.Common.Exceptions/MailingException.cs create mode 100644 Gestor.Common/Gestor.Common.Exceptions/PermissionException.cs create mode 100644 Gestor.Common/Gestor.Common.Exceptions/UnauthorizedException.cs create mode 100644 Gestor.Common/Gestor.Common.Exceptions/ValidationException.cs (limited to 'Gestor.Common/Gestor.Common.Exceptions') 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 -- cgit v1.2.3