Search:
Namespaces
Discussions
.NET v1.1
Feedback
Nested Try n Catch Statement
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngdebug' list
.
Peter Ma
-- Moved from [aspngfreeforall] to [aspngdebug] by Charles M. Carroll <
Click here to reveal e-mail address
> --
Can I use nested Try statement? That's Try some statement which have Try
statement inside ...
Just like a Nested If situation?
VS.NET Beta 2 didn't prompt me error when I'm using Nested Try statement,
but I'm worrying will it effect correctly under the corresponding
"Exception". :)
Thanks,
Peter
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Reply to this message...
Anders.Vikstrom@banqit.com
Hi Peter,
There should be no problem using nested Try...Catch blocks.=20
Regards,
Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:
Click here to reveal e-mail address
Phone: +46 8 7594737
-----Original Message-----
From: Peter Ma [mailto:
Click here to reveal e-mail address
]
Sent: den 12 februari 2002 09:37
To: aspngdebug
Subject: [aspngdebug] Nested Try n Catch Statement
-- Moved from [aspngfreeforall] to [aspngdebug] by Charles M. Carroll
<
Click here to reveal e-mail address
> --
Can I use nested Try statement? That's Try some statement which have =
Try=20
statement inside ...
Just like a Nested If situation?
VS.NET Beta 2 didn't prompt me error when I'm using Nested Try =
statement,=20
but I'm worrying will it effect correctly under the corresponding=20
"Exception". :)
Thanks,
Peter
_________________________________________________________________
Send and receive Hotmail on your mobile device:
http://mobile.msn.com
| [aspngdebug] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngdebug.asp
=3D JOIN/QUIT
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
Anders.Vikstrom@banqit.com
As an example, the following code will display "3":
Try
Try
Err.Raise(1)
Catch
Err.Raise(Err.Number + 1)
End Try
Catch
Try
Err.Raise(Err.Number + 1)
Catch
MsgBox(Err.Number)
End Try
End Try
/Anders
-----Original Message-----
From: Anders Vikstrom=20
Sent: den 12 februari 2002 16:13
To: aspngdebug
Subject: [aspngdebug] RE: Nested Try n Catch Statement
Hi Peter,
There should be no problem using nested Try...Catch blocks.=20
Regards,
Anders Vikstr=F6m
SW Engineering, BANQIT AB
http://www.banqit.com
mailto:
Click here to reveal e-mail address
Phone: +46 8 7594737
-----Original Message-----
From: Peter Ma [mailto:
Click here to reveal e-mail address
]
Sent: den 12 februari 2002 09:37
To: aspngdebug
Subject: [aspngdebug] Nested Try n Catch Statement
-- Moved from [aspngfreeforall] to [aspngdebug] by Charles M. Carroll
<
Click here to reveal e-mail address
> --
Can I use nested Try statement? That's Try some statement which have =
Try=20
statement inside ...
Just like a Nested If situation?
VS.NET Beta 2 didn't prompt me error when I'm using Nested Try =
statement,=20
but I'm worrying will it effect correctly under the corresponding=20
"Exception". :)
Thanks,
Peter
_________________________________________________________________
Send and receive Hotmail on your mobile device:
http://mobile.msn.com
| [aspngdebug] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngdebug.asp
=3D JOIN/QUIT
|
http://www.asplists.com/search
=3D SEARCH Archives
| [aspngdebug] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngdebug.asp
=3D JOIN/QUIT
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com