当前位置:编程学习 > C#/ASP.NET >>

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

//ZipException.cs
using System;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
    /// <summary>Thrown whenever an error occurs during the build.</summary>
    [Serializable]
    public class ZipException : ApplicationException {
        /// <summary>Constructs an exception with no descriptive information.</summary>
        public ZipException() : base() {
        }
        /// <summary>Constructs an exception with a descriptive message.</summary>
        /// <param name="message">The error message that explains the reason for the exception.</param>
        public ZipException(String message) : base(message) {
        }
        /// <summary>Constructs an exception with a descriptive message and a reference to the instance of the <c>Exception</c> that is the root cause of the this exception.</summary>
        /// <param name="message">The error message that explains the reason for the exception.</param>
        /// <param name="innerException">An instance of <c>Exception</c> that is the cause of the current Exception. If <paramref name="innerException"/> is non-null, then the current Exception is raised in a catch block handling <paramref>innerException</paramref>.</param>
补充:asp.net教程,Win开发 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,