try
{
throw new ApplicationException("Exception1");
}
catch
{
throw new ApplicationException("Exception in try block.");
}
finally
{
throw new ApplicationException("Exception in finally.");
}
Exception thrown in try block. Exception caught in catch block. Catch
block throws new exception, however finally also wants to throw an
exception. dont think you want to throw another exception in finally.
--
William Stacey, DNS MVP
"Hasani" <HJ****@hotmail.c0m> wrote in message
news:9_******************@twister.nyc.rr.com...
http://www.skidmore.edu/~h_blackw/finally.gif
I can only catch the exception thrown in the finally code section.
even if I do
catch(InvalidOperationException)