LCOV - code coverage report
Current view: top level - Cqrs/Domain/Exceptions - DuplicateCreateCommandException.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 4 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             :         public class DuplicateCreateCommandException : Exception
      14           0 :         {
      15           0 :                 public DuplicateCreateCommandException(string message, Exception exception)
      16             :                         : base(message, exception)
      17             :                 {
      18             :                 }
      19             : 
      20           0 :                 public DuplicateCreateCommandException(Exception exception)
      21             :                         : base("The operation resulted in a duplicate.", exception)
      22             :                 {
      23             :                 }
      24             : 
      25           0 :                 public DuplicateCreateCommandException(Type commandType, Guid commandRsn, Exception exception)
      26             :                         : base(string.Format("The operation resulted in a duplicate for a command of type '{0}' with Rsn '{1}'", commandType.FullName, commandRsn), exception)
      27             :                 {
      28             :                 }
      29             :         }
      30             : }

Generated by: LCOV version 1.10