Open sandboxFocus

Class AssertionFailedException

Exception thrown upon internal assertion failures in PostSharp Pattern Libraries.

Inheritance
AssertionFailedException
Implements
Namespace: PostSharp.Patterns
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class AssertionFailedException : Exception, ISerializable

Constructors

Name Description
AssertionFailedException()

Initializes a new AssertionFailedException with the default error message.

AssertionFailedException(string)

Initializes a new AssertionFailedException and specifies the error message.

AssertionFailedException(string, Exception)

Initializes a new AssertionFailedException and specifies the error message and the inner Exception.