using System;

namespace Wayne.Lib.IO
{
    /// <summary>
    /// Exception that is thrown when an unexpected file lock were found on any of the files that are involved in the safe file writing.
    /// </summary>
    public class SafeFileWritingIOException : Exception
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public SafeFileWritingIOException() { }

        /// <summary>
        /// Constructor
        /// </summary>
        public SafeFileWritingIOException(string message) : base(message) { }

        /// <summary>
        /// Constructor
        /// </summary>
        public SafeFileWritingIOException(string message, Exception inner) : base(message, inner) { }
    }
}