LCOV - code coverage report
Current view: top level - Cqrs/Domain/Exceptions - EventsOutOfOrderException.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 2 0.0 %
Date: 2017-07-26

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="cdmdotnet Limited">
       4             : // //   Copyright cdmdotnet Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : 
      11             : namespace Cqrs.Domain.Exceptions
      12             : {
      13             :         [Serializable]
      14             :         public class EventsOutOfOrderException : Exception
      15           0 :         {
      16           0 :                 public EventsOutOfOrderException(Guid id, Type aggregateRootType, int currentVersion, int providedEventVersion)
      17             :                         : base(string.Format("Eventstore gave event for aggregate '{0}' of type '{1}' out of order at version {2} by providing {3}", id, aggregateRootType.FullName, currentVersion, providedEventVersion))
      18             :                 {
      19             :                 }
      20             :         }
      21             : }

Generated by: LCOV version 1.10