| 1: | // BZip2OutputStream.cs | |
| 2: | // Copyright (C) 2001 Mike Krueger | |
| 3: | // | |
| 4: | // This program is free software; you can redistribute it and/or | |
| 5: | // modify it under the terms of the GNU General Public License | |
| 6: | // as published by the Free Software Foundation; either version 2 | |
| 7: | // of the License, or (at your option) any later version. | |
| 8: | // | |
| 9: | // This program is distributed in the hope that it will be useful, | |
| 10: | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11: | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12: | // GNU General Public License for more details. | |
| 13: | // | |
| 14: | // You should have received a copy of the GNU General Public License | |
| 15: | // along with this program; if not, write to the Free Software | |
| 16: | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 17: | // | |
| 18: | // Linking this library statically or dynamically with other modules is | |
| 19: | // making a combined work based on this library. Thus, the terms and | |
| 20: | // conditions of the GNU General Public License cover the whole | |
| 21: | // combination. | |
| 22: | // | |
| 23: | // As a special exception, the copyright holders of this library give you | |
| 24: | // permission to link this library with independent modules to produce an | |
| 25: | // executable, regardless of the license terms of these independent | |
| 26: | // modules, and to copy and distribute the resulting executable under | |
| 27: | // terms of your choice, provided that you also meet, for each linked | |
| 28: | // independent module, the terms and conditions of the license of that | |
| 29: | // module. An independent module is a module which is not derived from | |
| 30: | // or based on this library. If you modify this library, you may extend | |
| 31: | // this exception to your version of the library, but you are not | |
| 32: | // obligated to do so. If you do not wish to do so, delete this | |
| 33: | // exception statement from your version. | |
| 34: | ||
| 35: | using System; | |
| 36: | using System.IO; | |
| 37: | ||
| 38: | using ICSharpCode.SharpZipLib.Checksums; | |
| 39: | ||
| 40: | namespace ICSharpCode.SharpZipLib.Tar { | |
| 41: | ||
| 42: | /// <summary> | |
| 43: | /// This exception is used to indicate that there is a problem | |
| 44: | /// with a TAR archive header. | |
| 45: | /// </summary> | |
| 46: | public class InvalidHeaderException : System.IO.IOException | |
| 47: | { | |
| 48: | public InvalidHeaderException() | |
| 49: | { | |
| 50: | } | |
| 51: | ||
| 52: | public InvalidHeaderException(string msg) : base(msg) | |
| 53: | { | |
| 54: | } | |
| 55: | } | |
| 56: | } | |
| 57: | ||
| 58: | /* The original Java file had this header: | |
| 59: | ** Authored by Timothy Gerard Endres | |
| 60: | ** <mailto:time@gjt.org> <http://www.trustice.com> | |
| 61: | ** | |
| 62: | ** This work has been placed into the public domain. | |
| 63: | ** You may use this work in any way and for any purpose you wish. | |
| 64: | ** | |
| 65: | ** THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, | |
| 66: | ** NOT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR | |
| 67: | ** OF THIS SOFTWARE, ASSUMES _NO_ RESPONSIBILITY FOR ANY | |
| 68: | ** CONSEQUENCE RESULTING FROM THE USE, MODIFICATION, OR | |
| 69: | ** REDISTRIBUTION OF THIS SOFTWARE. | |
| 70: | ** | |
| 71: | */ | |
| 72: |
This page was automatically generated by SharpDevelop.