using System;
using System.Collections.Generic;
using System.Text;

namespace Wayne.Lib.IO
{
    /// <summary>
    /// Unit testing exception. Thrown when the processing was interrupted because of a deliberate 
    /// interruption of the file writing for unit testing purposes.
    /// </summary>    
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors")]
    public class SafeFileWritingInterruptedException : Exception
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public SafeFileWritingInterruptedException() { }
        /// <summary>
        /// Constructor
        /// </summary>
        public SafeFileWritingInterruptedException(string message) : base(message) { }
        /// <summary>
        /// Constructor
        /// </summary>
        public SafeFileWritingInterruptedException(string message, Exception inner) : base(message, inner) { }
    }
}