2010-03-17 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / nunit24 / NUnitCore / core / InvalidSuiteException.cs
1 // ****************************************************************\r
2 // This is free software licensed under the NUnit license. You\r
3 // may obtain a copy of the license as well as information regarding\r
4 // copyright ownership at http://nunit.org/?p=license&r=2.4.\r
5 // ****************************************************************\r
6 \r
7 namespace NUnit.Core\r
8 {\r
9         using System;\r
10         using System.Runtime.Serialization;\r
11 \r
12         [Serializable]\r
13         public class InvalidSuiteException : ApplicationException \r
14         {\r
15                 public InvalidSuiteException () : base() \r
16                 {} \r
17 \r
18                 /// <summary>\r
19                 /// Standard constructor\r
20                 /// </summary>\r
21                 /// <param name="message">The error message that explains \r
22                 /// the reason for the exception</param>\r
23                 public InvalidSuiteException(string message) : base (message)\r
24                 {}\r
25 \r
26                 /// <summary>\r
27                 /// Standard constructor\r
28                 /// </summary>\r
29                 /// <param name="message">The error message that explains \r
30                 /// the reason for the exception</param>\r
31                 /// <param name="inner">The exception that caused the \r
32                 /// current exception</param>\r
33                 public InvalidSuiteException(string message, Exception inner) :\r
34                         base(message, inner) \r
35                 {}\r
36 \r
37                 /// <summary>\r
38                 /// Serialization Constructor\r
39                 /// </summary>\r
40                 protected InvalidSuiteException(SerializationInfo info, \r
41                         StreamingContext context) : base(info,context){}\r
42 \r
43         }\r
44 }