An exception type that wraps a AssertionFailure.

Namespace:  Gallio.Framework.Assertions
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
[SerializableAttribute]
public class AssertionFailureException : AssertionException
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class AssertionFailureException _
	Inherits AssertionException

Remarks

This exception is used in two ways:

  • The exception may be "silent" when it is used to cause a test to terminate due to an assertion failure that has already been logged or otherwise conveyed to the user.
  • Otherwise the exception will be reported the user in the typical manner.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Gallio.Framework..::.TestException
      Gallio.Framework..::.TestFailedException
        Gallio.Framework.Assertions..::.AssertionException
          Gallio.Framework.Assertions..::.AssertionFailureException

See Also