Table of Contents

Class ExceptionTypeConstraint

Namespace
NUnit.Framework.Constraints
Assembly
nunit.framework.dll

ExceptionTypeConstraint is a special version of ExactTypeConstraint used to provided detailed info about the exception thrown in an error message.

public class ExceptionTypeConstraint : ExactTypeConstraint, IConstraint, IResolveConstraint
Inheritance
ExceptionTypeConstraint
Implements
Inherited Members

Constructors

ExceptionTypeConstraint(Type)

Constructs an ExceptionTypeConstraint

public ExceptionTypeConstraint(Type type)

Parameters

type Type