[Mono-devel-list] Re: ThreadAbortException - Why is it rethrown?
vargaz at gmail.com
Sun Aug 7 11:18:26 EDT 2005
This is called 'undeniable exception propagation'. See this for more info:
On 8/5/05, Vivek, Bharath Varma (IE10) <Vivek.Varma at honeywell.com> wrote:
> Thanks for your responses Atsushi & David.
> I'm still wondering as to why the exception is rethrown and thus propagated
> up the method call stack (assuming I did not call ResetAbort) even after it
> is handled by a catch block.
> I'm not questioning this behavior, just trying to understand why it is so.
> One guess I'm making is that this behavior of ThreadAbortException is
> because we would like to give an opportunity to methods higher in the call
> stack an opportunity to cleanup any unmanaged resources they may be holding.
> Do you agree that this is the reason the ThreadAbortException is re-thrown
> after a catch block handles the exception?
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list