I have a try catch where I don't know all of the exceptions that can be
thrown (I'm calling a web service in the try) and what I would ideally like
to do is a catch all but then look at the type of exception that was thrown
and decide what to do there. Because I don't know what all can be thrown I
need to have sort of a generic exception where I can then say - what type is
it ? and then process accordingly. I don't want to do a (Execption ex)
because that will lose some information - or at least I think it will.
I've tried doing catch (object ex) and it won't let me. Object must be
derived from System.Exception.
TIA - Jeff.