2
// Copyright (C) 2002. James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. All Rights Reserved.
7
using System.Runtime.Serialization;
11
/// Thrown when an assertion failed. Here to preserve the inner
12
/// exception and hence its stack trace.
16
public class NunitException : ApplicationException
18
public NunitException () : base()
22
/// Standard constructor
24
/// <param name="message">The error message that explains
25
/// the reason for the exception</param>
26
public NunitException(string message) : base (message)
30
/// Standard constructor
32
/// <param name="message">The error message that explains
33
/// the reason for the exception</param>
34
/// <param name="inner">The exception that caused the
35
/// current exception</param>
36
public NunitException(string message, Exception inner) :
41
/// Serialization Constructor
43
protected NunitException(SerializationInfo info,
44
StreamingContext context) : base(info,context){}