1 // ****************************************************************
\r
2 // Copyright 2007, Charlie Poole
\r
3 // This is free software licensed under the NUnit license. You may
\r
4 // obtain a copy of the license at http://nunit.org/?p=license&r=2.4
\r
5 // ****************************************************************
\r
9 namespace NUnit.Framework
\r
12 /// Interface implemented by a user fixture in order to
\r
13 /// validate any expected exceptions. It is only called
\r
14 /// for test methods marked with the ExpectedException
\r
17 public interface IExpectException
\r
20 /// Method to handle an expected exception
\r
22 /// <param name="ex">The exception to be handled</param>
\r
23 void HandleException(Exception ex);
\r