PageRenderTime 52ms CodeModel.GetById 26ms 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
Possible License(s): GPL-2.0
  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. namespace NUnit.Core
  7. {
  8. using System;
  9. using System.Runtime.Serialization;
  10. [Serializable]
  11. public class InvalidSuiteException : ApplicationException
  12. {
  13. public InvalidSuiteException () : base()
  14. {}
  15. /// <summary>
  16. /// Standard constructor
  17. /// </summary>
  18. /// <param name="message">The error message that explains
  19. /// the reason for the exception</param>
  20. public InvalidSuiteException(string message) : base (message)
  21. {}
  22. /// <summary>
  23. /// Standard constructor
  24. /// </summary>
  25. /// <param name="message">The error message that explains
  26. /// the reason for the exception</param>
  27. /// <param name="inner">The exception that caused the
  28. /// current exception</param>
  29. public InvalidSuiteException(string message, Exception inner) :
  30. base(message, inner)
  31. {}
  32. /// <summary>
  33. /// Serialization Constructor
  34. /// </summary>
  35. protected InvalidSuiteException(SerializationInfo info,
  36. StreamingContext context) : base(info,context){}
  37. }
  38. }