2
// Copyright (C) 2002. James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. All Rights Reserved.
4
namespace Nunit.Framework
7
using System.Runtime.Serialization;
10
/// Thrown when an assertion failed.
14
public class AssertionException : ApplicationException
19
/// <param name="message"></param>
20
public AssertionException (string message) : base(message)
24
/// Standard constructor
26
/// <param name="message">The error message that explains
27
/// the reason for the exception</param>
28
/// <param name="inner">The exception that caused the
29
/// current exception</param>
30
public AssertionException(string message, Exception inner) :
35
/// Serialization Constructor
37
protected AssertionException(SerializationInfo info,
38
StreamingContext context) : base(info,context)