LCOV - code coverage report
Current view: top level - Cqrs/Domain/Exceptions - AggregateOrEventMissingIdException.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 AggregateOrEventMissingIdException : Exception
      15           0 :         {
      16           0 :                 public AggregateOrEventMissingIdException(Type aggregateType, Type eventType)
      17             :                         : base(string.Format("An event of type {0} tried to be saved from {1} but no id was set on either", eventType.FullName, aggregateType.FullName))
      18             :                 {
      19             :                 }
      20             :         }
      21             : }

Generated by: LCOV version 1.10