Treefrog.Program.HandleDomainException C# (CSharp) Method

HandleDomainException() private static method

private static HandleDomainException ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e System.UnhandledExceptionEventArgs
return void
        private static void HandleDomainException(object sender, UnhandledExceptionEventArgs e)
        {
            HandleException((e.ExceptionObject as Exception) ?? new Exception());
        }