Exemplo n.º 1
0
 static void applicationThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
 {
     if (PlvsUtils.isConnectorException(e.Exception))
     {
         UnhandledExceptionDialog dlg = new UnhandledExceptionDialog(e.Exception);
         dlg.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private static void unhandledExceptionHandler(object sender, UnhandledExceptionEventArgs e)
        {
            Exception ex = (Exception)e.ExceptionObject;

            if (PlvsUtils.isConnectorException(ex))
            {
                UnhandledExceptionDialog dlg = new UnhandledExceptionDialog(ex);
                dlg.ShowDialog();
            }
        }