Class
MockAssertionFailedException

The exception that is thrown when Mock.Assert fails.

Definition

Namespace:Telerik.JustMock.Core

Assembly:Telerik.JustMock.dll

Syntax:

cs-api-definition
public sealed class MockAssertionFailedException : MockException, ISerializable

Inheritance: objectExceptionMockExceptionMockAssertionFailedException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTrace

Constructors

MockAssertionFailedException(string, Exception)

Initializes a new instance of the MockAssertionFailedException class.

Declaration

cs-api-definition
public MockAssertionFailedException(string message, Exception innerException)

Parameters

message

string

Exception message.

innerException

Exception

Inner exception.