From 0440c722a221b8068bbf388c1c0c51f0faff0451 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 14:17:46 -0300 Subject: some dlls --- Gestor.Common/Gestor.Common.Exceptions/AbortException.cs | 11 +++++++++++ Gestor.Common/Gestor.Common.Exceptions/BaseException.cs | 16 ++++++++++++++++ .../Gestor.Common.Exceptions/ForbiddenException.cs | 16 ++++++++++++++++ .../Gestor.Common.Exceptions/MailingException.cs | 14 ++++++++++++++ .../Gestor.Common.Exceptions/PermissionException.cs | 15 +++++++++++++++ .../Gestor.Common.Exceptions/UnauthorizedException.cs | 16 ++++++++++++++++ .../Gestor.Common.Exceptions/ValidationException.cs | 16 ++++++++++++++++ 7 files changed, 104 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..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) + { + } +} -- cgit v1.2.3