michael_wp原创:用.net实现zip----3
发表于:2007-06-30来源:作者:点击数:
标签:
//ZipException.cs using System; using System.Runtime.Serialization; namespace OrganicBit.Zip { /// summaryThrown whenever an error occurs during the build./summary [Serializable] public class ZipException : ApplicationException { /// summar
//ZipException.cs
using System;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
/// <summary>Thrown whenever an error o
clearcase/" target="_blank" >ccurs 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>
public ZipException(String message, Exception innerException) : base(message, innerException) {
}
/// <summary>Initializes a new instance of the BuildException class with serialized data.</summary>
/// <param name="info">The object that holds the serialized object data.</param>
/// <param name="context">The contextual information about the source or destination.</param>
public ZipException(SerializationInfo info, StreamingContext context) : base(info, context) {
}
}
}
原文转自:http://www.ltesting.net