void SendReply(DueTimeout timeout, TimeoutReply reply) { try { handleDeferredMessage.SendReply(timeout.ReplyTo, reply, timeout.SagaId); } catch (Exception exception) { throw new ApplicationException(string.Format("An error occurred while attempting to send reply for {0}", timeout), exception); } }
void MarkAsProcessed(DueTimeout timeout) { try { timeout.MarkAsProcessed(); } catch (Exception exception) { throw new ApplicationException(string.Format("Could not mark timeout {0} as processed!", timeout), exception); } }