protected virtual void OnUnhandledException(Exception exception)
{
// REVIEW: Should this method take the actual Exception, or the actual EventArgs for containing it?
var handler = UnhandledException;
if (handler != null)
{
handler(this, new UnhandledExceptionEventArgs(exception, false));
}
}