一聚教程网:一个值得你收藏的教程网站

热门教程

michael_wp原创:用.net实现zip----3

时间:2022-07-02 11:41:16 编辑:袖梨 来源:一聚教程网

//ZipException.cs
using System;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
    /// Thrown whenever an error occurs during the build.
    [Serializable]
    public class ZipException : ApplicationException {
        /// Constructs an exception with no descriptive information.
        public ZipException() : base() {
        }
        /// Constructs an exception with a descriptive message.
        /// The error message that explains the reason for the exception.
        public ZipException(String message) : base(message) {
        }
        /// Constructs an exception with a descriptive message and a reference to the instance of the Exception that is the root cause of the this exception.
        /// The error message that explains the reason for the exception.
        /// An instance of Exception that is the cause of the current Exception. If is non-null, then the current Exception is raised in a catch block handling innerException.

热门栏目