Esempio n. 1
0
        public static void HandleException(Exception exception)
        {
            // Exit if Exception is NULL
            if (exception == null)
            {
                return;
            }

            // Get New of Existing Instance of Exception Window
            FormException formException = FormException.GetInstance();

            // Get Calling Assembly
            Assembly assembly = Assembly.GetCallingAssembly();

            // Add Exception to Webbrowser
            formException.AddException(null, new ExceptionHandlerEventArgs(exception, assembly));
        }