private void OnGlobalException(object sender, #if SILVERLIGHT ApplicationUnhandledExceptionEventArgs e #else