Copy 0.84 to trunk.
[mono.git] / mcs / class / ICSharpCode.SharpZipLib / ICSharpCode.SharpZipLib / SharpZipBaseException.cs
1 // SharpZipBaseException.cs\r
2 //\r
3 // Copyright 2004 John Reilly\r
4 //\r
5 // This file was translated from java, it was part of the GNU Classpath\r
6 // Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.\r
7 //\r
8 // This program is free software; you can redistribute it and/or\r
9 // modify it under the terms of the GNU General Public License\r
10 // as published by the Free Software Foundation; either version 2\r
11 // of the License, or (at your option) any later version.\r
12 //\r
13 // This program is distributed in the hope that it will be useful,\r
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
16 // GNU General Public License for more details.\r
17 //\r
18 // You should have received a copy of the GNU General Public License\r
19 // along with this program; if not, write to the Free Software\r
20 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
21 //\r
22 // Linking this library statically or dynamically with other modules is\r
23 // making a combined work based on this library.  Thus, the terms and\r
24 // conditions of the GNU General Public License cover the whole\r
25 // combination.\r
26 // \r
27 // As a special exception, the copyright holders of this library give you\r
28 // permission to link this library with independent modules to produce an\r
29 // executable, regardless of the license terms of these independent\r
30 // modules, and to copy and distribute the resulting executable under\r
31 // terms of your choice, provided that you also meet, for each linked\r
32 // independent module, the terms and conditions of the license of that\r
33 // module.  An independent module is a module which is not derived from\r
34 // or based on this library.  If you modify this library, you may extend\r
35 // this exception to your version of the library, but you are not\r
36 // obligated to do so.  If you do not wish to do so, delete this\r
37 // exception statement from your version.\r
38 \r
39 using System;\r
40 \r
41 namespace ICSharpCode.SharpZipLib\r
42 {\r
43         /// <summary>\r
44         /// SharpZipBaseException is the base exception class for the SharpZipLibrary.\r
45         /// All library exceptions are derived from this.\r
46         /// </summary>\r
47         public class SharpZipBaseException : ApplicationException\r
48         {\r
49                 /// <summary>\r
50                 /// Initializes a new instance of the SharpZipLibraryException class.\r
51                 /// </summary>\r
52                 public SharpZipBaseException()\r
53                 {\r
54                 }\r
55                 \r
56                 /// <summary>\r
57                 /// Initializes a new instance of the SharpZipLibraryException class with a specified error message.\r
58                 /// </summary>\r
59                 public SharpZipBaseException(string msg) : base(msg)\r
60                 {\r
61                 }\r
62 \r
63                 /// <summary>\r
64                 /// Initializes a new instance of the SharpZipLibraryException class with a specified\r
65                 /// error message and a reference to the inner exception that is the cause of this exception.\r
66                 /// </summary>\r
67                 /// <param name="message">Error message string</param>\r
68                 /// <param name="innerException">The inner exception</param>\r
69                 public SharpZipBaseException(string message, Exception innerException)  : base(message, innerException)\r
70                 {\r
71                 }\r
72         }\r
73 }\r