Re: Creating an error handler for my application



>But this doesn't work for me. If an exception is being thrown, it isn't
>catched by the ThreadException event and a exception is being displayed.
Did your handler get invoked after you click Continue?
..NET is ugly that way, it has a default thread exception handler which
displays a dialog asking whether you want to to debug. If you don't
have a debugger registered on the system, then it will not ask, which
are what you expected.

.



Relevant Pages

  • Re: ThreadException and RunworkerCompletedEventArgs Error property
    ... TargetInvocationException will be thrown. ... InnerException's InnerException is the same as e.Error, ... InnerExceptions caught by the ThreadException event handler is the same as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Howto pass exceptions between threads
    ... John Nagle schrieb: ... You couldn't raise an exception on a compute-bound thread, ... Thread termination with termination handler ... Default/Customized main thread exception handler ...
    (comp.lang.python)
  • Re: Validating file names
    ... running Novel, from your G: running Linux file system, from your H: running ... I am not saying one does not exist! ... file file and handle any exceptions that were thrown. ... If an exception is thrown then the specified ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using an ActiveX ocx control on a Webform
    ... > download the ActiveX I can Automate the ActiveX object through the ... > Exception of type InvalidActiveXStateException was thrown. ... > tried using the item in the design mode of a regular .NET Windows ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exception-Objekt freigeben
    ... When an exception is thrown, the exception object that is thrown is destroyed ... we have added the AcquireExceptionObject and ReleaseExceptionObject functions. ... then the thrown object is not destroyed by the RTL, but assumed to be in control ...
    (de.comp.lang.delphi.misc)

Loading