Extensions/ImageGlass.ThumbBar/Exceptions/ThumbCreationFailedException.cs

(完整代码) 1KB

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

namespace ImageGlass.Exceptions
{

    /// <summary>
    /// Exception gets thrown when the actual draw of the thumbnail image fails
    /// </summary>
    public class ThumbCreationFailedException : System.Exception
    {

        #region [ Constructors ]

        /// <summary>
        /// Creates a new instance of the ThumbCreationFailedException object
        /// </summary>
        internal ThumbCreationFailedException()
            : base(csMessage)
        {
        }

        /// <summary>
        /// Creates a new instance of the ThumbCreationFailedException object
        /// </summary>
        /// <param name="innerException"><see cref="System.Exception"/> containing the inner exception that occured</param>
        internal ThumbCreationFailedException(Exception innerException)
            : base(csMessage, innerException)
        {
        }

        #endregion

        private const string csMessage = "Failed to create thumbnail image (or resized image)";

    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。