Replies |
if u know the possible exception place and u don't need exception msg means,
try
{
//code - which code u need not exception
}
catch(Exception e)
{
//don't put anything here
}
//your remaining code Regards,
Singaravel M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Kavi.Sirius
Posted on: 5/30/2012 2:54:43 AM
|
Level: Starter | Status: [Member] | Points: 25
|
hi singaravel,
i need to catch the all exception and write in one text file
my problem after the catch is arised means the entire process will stop
but i need to continue the applications
Regards
Kavi.n
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sorry madam, In my knowledge its not possible..
Hi to all,
If u know above query post ur suggesstion..
Regards,
Singaravel M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Kavi.Sirius
Posted on: 5/30/2012 5:04:57 AM
|
Level: Starter | Status: [Member] | Points: 25
|
thank u for ur kind replies
Regards
Kavi.n
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
In VB and VB .NET has On Error Resume Next option.
These methods are still available in VB.NET, but they are not part of C#.
Regards,
Singaravel M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
On Error Resume Next option also not a good practice.
Regards,
Singaravel M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Kavi.Sirius
Posted on: 5/30/2012 6:50:18 AM
|
Level: Starter | Status: [Member] | Points: 25
|
yes ,but this functionallty not in c#.net
Regards
Kavi.n
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sabarimahesh
Posted on: 5/30/2012 8:41:08 AM
|
Level: Bronze | Status: [Member] | Points: 25
|
Then Y U Using the Try Catch
Life is a Race
Thanks & Regards
By
Sabari Mahesh P M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sabarimahesh
Posted on: 5/30/2012 8:42:14 AM
|
Level: Bronze | Status: [Member] | Points: 25
|
catch (Exception e)
{
//This happens, we don't care!
}
leave it Like this Life is a Race
Thanks & Regards
By
Sabari Mahesh P M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sabarimahesh
Posted on: 5/30/2012 8:42:53 AM
|
Level: Bronze | Status: [Member] | Points: 25
|
You Need To Mention Catch Block,,,,
No Need iNside Catch Block
Life is a Race
Thanks & Regards
By
Sabari Mahesh P M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sabarimahesh
Posted on: 5/30/2012 8:43:13 AM
|
Level: Bronze | Status: [Member] | Points: 25
|
I Hope that You May Get Helpful
Life is a Race
Thanks & Regards
By
Sabari Mahesh P M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sabarimahesh
Posted on: 5/30/2012 8:43:51 AM
|
Level: Bronze | Status: [Member] | Points: 25
|
HitTestResult result;
try
{
result = this.HitTest( e.X, e.Y, ChartElementType.DataPoint);
}
catch(Exception e)
{
#if !DEBUG
//This happens, we don't care!
#endif
} Life is a Race
Thanks & Regards
By
Sabari Mahesh P M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Kavi.Sirius
Posted on: 5/31/2012 12:25:49 AM
|
Level: Starter | Status: [Member] | Points: 25
|
hi sabarimahesh,
i need to catch the all exception in application and write in one text file
my problem after the catch is arised means the entire process will stop
but i need to continue the applications
Regards
Kavi.n
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|
Sabarimahesh
Posted on: 5/31/2012 2:20:06 AM
|
Level: Bronze | Status: [Member] | Points: 25
|
Kavi.Sirius
Pleae Send the Code
Only Catch part ....
i'll say The Solution .....
Life is a Race
Thanks & Regards
By
Sabari Mahesh P M
Kavi.Sirius, if this helps please login to Mark As Answer. |
Reply | Alert Moderator
|