[Mono-devel-list] ThreadAbortException - Why is it rethrown?
atsushi at ximian.com
Thu Aug 4 13:46:55 EDT 2005
Well, there is ResetAbort() which can stop the ThreadAbortException
only from inside the same thread (AFAIK). Other than that yes it is
not possible to stop this error propagation.
David Waite wrote:
> ThreadAbort is thrown as result of the thread being aborted. You
> cannot unabort the thread, just do cleanup before it finishes. So when
> you catch the ThreadAbort, it is rethrown automatically to go to the
> next higher cleanup routine.
> -David Waite
> On 8/4/05, Vivek, Bharath Varma (IE10) <Vivek.Varma at honeywell.com> wrote:
>>I have a question regarding ThreadAbortException.
>>Why is the thread abort exception rethrown at the end of a catch clause?
>>Why is ThreadAbortException's behavior designed to be this way?
>>Thanks in advance
>>Mono-devel-list mailing list
>>Mono-devel-list at lists.ximian.com
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list