S
s33k3r
hi all,
I'll try and be brief, coz in the mood I'm in now if I start ranting
there's no stopping.
Actually I wanted to know if i can do any thing except, print debug
messages in the final catch handler. From all the samples I've seen
everyone seems to throw and rethrow the exceptions ad infinium.
What I'm looking for is something like this
try
{
some operation
}
catch(exception ex)
{
if (ex.errorno == something)
do some damage control
else
throw new exception("i blew up here",ex
}
Is this possible in c# ? From my noob knowhow i expect not but still
can some one confirm ?
Thanks for your time
I'll try and be brief, coz in the mood I'm in now if I start ranting
there's no stopping.
Actually I wanted to know if i can do any thing except, print debug
messages in the final catch handler. From all the samples I've seen
everyone seems to throw and rethrow the exceptions ad infinium.
What I'm looking for is something like this
try
{
some operation
}
catch(exception ex)
{
if (ex.errorno == something)
do some damage control
else
throw new exception("i blew up here",ex
}
Is this possible in c# ? From my noob knowhow i expect not but still
can some one confirm ?
Thanks for your time