2022-02-23 12:33:42 +00:00
|
|
|
|
namespace ASC.EventBus.Exceptions;
|
|
|
|
|
|
|
|
|
|
public class IntegrationEventRejectExeption : Exception
|
|
|
|
|
{
|
2022-03-02 15:25:28 +00:00
|
|
|
|
public IntegrationEventRejectExeption(Guid eventId)
|
2022-02-23 12:33:42 +00:00
|
|
|
|
{
|
2022-03-02 15:25:28 +00:00
|
|
|
|
EventId = eventId;
|
2022-02-23 12:33:42 +00:00
|
|
|
|
}
|
|
|
|
|
|
2022-03-02 15:25:28 +00:00
|
|
|
|
public IntegrationEventRejectExeption(Guid eventId, string message)
|
2022-02-23 12:33:42 +00:00
|
|
|
|
: base(message)
|
|
|
|
|
{
|
2022-03-02 15:25:28 +00:00
|
|
|
|
EventId = eventId;
|
2022-02-23 12:33:42 +00:00
|
|
|
|
}
|
|
|
|
|
|
2022-03-02 15:25:28 +00:00
|
|
|
|
public IntegrationEventRejectExeption(Guid eventId, string message, Exception inner)
|
2022-02-23 12:33:42 +00:00
|
|
|
|
: base(message, inner)
|
|
|
|
|
{
|
2022-03-02 15:25:28 +00:00
|
|
|
|
EventId = eventId;
|
2022-02-23 12:33:42 +00:00
|
|
|
|
}
|
2022-03-02 15:25:28 +00:00
|
|
|
|
|
|
|
|
|
public Guid EventId { get; private set; }
|
2022-02-23 12:33:42 +00:00
|
|
|
|
}
|