singrdk/base/Libraries/UnitTest/FailedAssertionException.cs

28 lines
736 B
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: FailedAssertionException.cs
//
// Note:
//
namespace Microsoft.Singularity.UnitTest
{
public sealed class FailedAssertionException : System.Exception
{
public FailedAssertionException(string userMessage)
: base(userMessage)
{
}
public FailedAssertionException(string userMessage,
string /*!*/ conditionMessage)
2008-11-17 18:29:00 -05:00
: base(string.Format("{0} {1}", userMessage, conditionMessage))
2008-03-05 09:52:00 -05:00
{
}
}
}