2024-04-18 01:44:37 +02:00
|
|
|
using System;
|
2025-02-16 13:23:45 +01:00
|
|
|
using Wino.Core.Domain.Entities.Shared;
|
2024-04-18 01:44:37 +02:00
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
namespace Wino.Core.Domain.Exceptions;
|
|
|
|
|
|
|
|
|
|
public class ImapClientPoolException : Exception
|
2024-04-18 01:44:37 +02:00
|
|
|
{
|
2025-02-16 13:23:45 +01:00
|
|
|
public ImapClientPoolException()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-05 13:18:50 +02:00
|
|
|
public ImapClientPoolException(string message, CustomServerInformation customServerInformation) : base(message)
|
2025-02-16 13:23:45 +01:00
|
|
|
{
|
|
|
|
|
CustomServerInformation = customServerInformation;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-05 13:18:50 +02:00
|
|
|
public ImapClientPoolException(string message) : base(message)
|
2025-02-16 13:23:45 +01:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-05 13:18:50 +02:00
|
|
|
public ImapClientPoolException(Exception innerException) : base(innerException.Message, innerException)
|
2024-04-18 01:44:37 +02:00
|
|
|
{
|
2025-02-16 11:43:30 +01:00
|
|
|
}
|
2025-02-16 11:54:23 +01:00
|
|
|
|
2025-02-16 13:23:45 +01:00
|
|
|
public CustomServerInformation CustomServerInformation { get; }
|
2024-04-18 01:44:37 +02:00
|
|
|
}
|