PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/NUnit/core/InvalidSuiteException.cs

#
C# | 44 lines | 18 code | 6 blank | 20 comment | 0 complexity | c5df506e15e877087fd43a8ced7d8670 MD5 | raw file
 1// ****************************************************************
 2// This is free software licensed under the NUnit license. You
 3// may obtain a copy of the license as well as information regarding
 4// copyright ownership at http://nunit.org.
 5// ****************************************************************
 6
 7namespace NUnit.Core
 8{
 9	using System;
10	using System.Runtime.Serialization;
11
12	[Serializable]
13	public class InvalidSuiteException : ApplicationException 
14	{
15		public InvalidSuiteException () : base() 
16		{} 
17
18		/// <summary>
19		/// Standard constructor
20		/// </summary>
21		/// <param name="message">The error message that explains 
22		/// the reason for the exception</param>
23		public InvalidSuiteException(string message) : base (message)
24		{}
25
26		/// <summary>
27		/// Standard constructor
28		/// </summary>
29		/// <param name="message">The error message that explains 
30		/// the reason for the exception</param>
31		/// <param name="inner">The exception that caused the 
32		/// current exception</param>
33		public InvalidSuiteException(string message, Exception inner) :
34			base(message, inner) 
35		{}
36
37		/// <summary>
38		/// Serialization Constructor
39		/// </summary>
40		protected InvalidSuiteException(SerializationInfo info, 
41			StreamingContext context) : base(info,context){}
42
43	}
44}