/src/NUnit/core/InvalidSuiteException.cs
C# | 44 lines | 18 code | 6 blank | 20 comment | 0 complexity | c5df506e15e877087fd43a8ced7d8670 MD5 | raw file
Possible License(s): GPL-2.0
- // ****************************************************************
- // This is free software licensed under the NUnit license. You
- // may obtain a copy of the license as well as information regarding
- // copyright ownership at http://nunit.org.
- // ****************************************************************
-
- namespace NUnit.Core
- {
- using System;
- using System.Runtime.Serialization;
-
- [Serializable]
- public class InvalidSuiteException : ApplicationException
- {
- public InvalidSuiteException () : base()
- {}
-
- /// <summary>
- /// Standard constructor
- /// </summary>
- /// <param name="message">The error message that explains
- /// the reason for the exception</param>
- public InvalidSuiteException(string message) : base (message)
- {}
-
- /// <summary>
- /// Standard constructor
- /// </summary>
- /// <param name="message">The error message that explains
- /// the reason for the exception</param>
- /// <param name="inner">The exception that caused the
- /// current exception</param>
- public InvalidSuiteException(string message, Exception inner) :
- base(message, inner)
- {}
-
- /// <summary>
- /// Serialization Constructor
- /// </summary>
- protected InvalidSuiteException(SerializationInfo info,
- StreamingContext context) : base(info,context){}
-
- }
- }