S
stuart
Hi,
Is it possible to find out if an exception has an inner exception or not.
for example if I catch an exception of type "System.Web.HttpException"
it is likely (but not definate) that the error conatians an inner exception.
what I would like to do is determine if the exception has an inner exception
and the act on it.
I don't just want to call innerexception because I am assuming another
exception will be thrown if an inner exception does not exist.
thanks in advance for your help.
cheers
martin.
Is it possible to find out if an exception has an inner exception or not.
for example if I catch an exception of type "System.Web.HttpException"
it is likely (but not definate) that the error conatians an inner exception.
what I would like to do is determine if the exception has an inner exception
and the act on it.
I don't just want to call innerexception because I am assuming another
exception will be thrown if an inner exception does not exist.
thanks in advance for your help.
cheers
martin.