Documentation Coverage Report
Current view: top level - Cqrs.EventStore/Bus - InvalidLastEventProcessedException.cs Hit Total Coverage
Version: 2.2 Artefacts: 5 5 100.0 %
Date: 2017-09-22

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="Chinchilla Software Limited">
       4             : // //   Copyright Chinchilla Software Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : using System.Runtime.Serialization;
      11             : using EventStore.ClientAPI;
      12             : 
      13             : namespace Cqrs.EventStore.Bus
      14             : {
      15             :         /// <summary>
      16             :         /// The <see cref="Position"/> information provided was invalid and a <see cref="Position"/> was unable to be created.
      17             :         /// </summary>
      18             :         [Serializable]
      19             :         public class InvalidLastEventProcessedException : Exception
      20           1 :         {
      21             :                 /// <summary>
      22             :                 /// Instantiates a new instance of <see cref="InvalidLastEventProcessedException"/>.
      23             :                 /// </summary>
      24           1 :                 public InvalidLastEventProcessedException()
      25             :                 {
      26             :                 }
      27             : 
      28             :                 /// <summary>
      29             :                 /// Instantiates a new instance of <see cref="InvalidLastEventProcessedException"/> with a specified error message and a reference to the inner exception that is the cause of this exception.
      30             :                 /// </summary>
      31             :                 /// <param name="message">The error message that explains the reason for the exception.</param>
      32             :                 /// <param name="innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.</param>
      33           1 :                 public InvalidLastEventProcessedException(string message, Exception innerException)
      34             :                         : base(message, innerException)
      35             :                 {
      36             :                 }
      37             : 
      38             :                 /// <summary>
      39             :                 /// Instantiates a new instance of <see cref="InvalidLastEventProcessedException"/> with a specified error message.
      40             :                 /// </summary>
      41             :                 /// <param name="message">The error message that explains the reason for the exception.</param>
      42           1 :                 public InvalidLastEventProcessedException(string message)
      43             :                         : base(message)
      44             :                 {
      45             :                 }
      46             : 
      47             :                 /// <summary>
      48             :                 /// Instantiates a new instance of <see cref="InvalidLastEventProcessedException"/> with serialized data.
      49             :                 /// </summary>
      50             :                 /// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
      51             :                 /// <param name="context">The <see cref="StreamingContext"/> that contains contextual information about the source or destination.</param>
      52           1 :                 protected InvalidLastEventProcessedException(SerializationInfo info, StreamingContext context)
      53             :                         : base(info, context)
      54             :                 {
      55             :                 }
      56             :         }
      57             : }

Generated by: LCOV version 1.10