-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Kashypa78
Message 2 in Discussion
Hi
Balaji,
1>
If you have multiple catch blocks then, the order of execution is some thing
like below.
As you know all execption inherit the
System.Exception (if its a sdystem generated
exception)
So if u r first catch block catches an System.Exception,
then other catch blocks wont execute at all.
Because all though your exception that was raised was an
NumberFormatException( or whatever), their base
is System.Exception so, it gets caught in the first catch
block only. Hope you got what i am trying to say.
2>
If you have a finally block no matter whether their was a exception caught or
not, the code in the finally block gets executed.
3>
The speciality of the .NET framework is that, u can develop assemblies in any of
the .NET languages and
use them in other
languages and vice versa.
So lets say u have a C#.NET assembly, i can reference that
in my VB.NET assembly.
Hope i
was able to shed some light on your doubts.
Let me
know if the info was helpfull
regards
Lohith
-----Original Message-----
From:
BalajiKrishnan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29,
2004 5:53 PM
To: BDOTNET
Subject: Error
Handling-Doubts
New Message on BDOTNET
Error
Handling-Doubts
Reply
Reply to Sender Recommend
Message 1 in
Discussion
From: BalajiKrishnan
I have some doubt in error handling....
1. try, catch, finally block. execution sequence , if
multiple catch blocks are there
then wht will happen.
2 .will finally block be called even when there is no
errors.
also
3. how to ensure that one assembly writen in c# is
compatible in vb.net.
Balaji
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]