NUnitLite.Runner.TextUI.TopLevelHandler C# (CSharp) Method

TopLevelHandler() public method

public TopLevelHandler ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e System.UnhandledExceptionEventArgs
return void
	public void TopLevelHandler(object sender, UnhandledExceptionEventArgs e)
	{
		// Make sure that the test harness knows this exception was thrown
		if (this.finallyDelegate != null)
			this.finallyDelegate.HandleUnhandledExc(e.ExceptionObject as Exception);
	}