No announcements
Found 3794882 threads
-
0 Votes
try catch is slow and more slow if you are trying to retrieve the "Number" property
Hi try catch is slow try catch is not slow see my code .Unanswered | 1 Replies | 2454 Views | Created by zequion1 - Sunday, December 13, 2020 11:39 AM | Last reply by Hakkim.Elrhumi - Monday, December 14, 2020 1:12 AM -
0 Votes
Which is more efficient?
The mere presence of a try/catch block should have little or no impact on performance, so if you expect none of those objects to be null it's going to be faster than ...Answered | 4 Replies | 3532 Views | Created by Blessed Geek - Wednesday, August 13, 2008 4:35 AM | Last reply by Ben Schwehn - Wednesday, August 13, 2008 2:21 PM -
1 Votes
Try Catch cured error?
Slow processor It had issues then I added a try...catch to indicate the issue and the problem went away.Answered | 25 Replies | 2477 Views | Created by GlennPatton - Thursday, March 8, 2012 10:43 AM | Last reply by Peter Koueik - Friday, March 9, 2012 12:03 PM -
0 Votes
Treeview Numbering Slow
If you can is better to use only parameters.Answered | 7 Replies | 888 Views | Created by JMANCI - Tuesday, December 24, 2019 6:31 PM | Last reply by Peter Fleischer - Saturday, December 28, 2019 10:35 AM -
5 Votes
Try...catch with if statement
Your try / catch block, which is where you would show your message box from would be from outside the class.Answered | 15 Replies | 38893 Views | Created by Kevin.Anderson - Tuesday, November 27, 2012 9:12 PM | Last reply by Norkk - Wednesday, November 28, 2012 2:48 PM -
3 Votes
Try Catch
It works exaclty as the articles says: Once you hit the first RAISEERROR, it jumps to the begin of the catch Block.Answered | 4 Replies | 3156 Views | Created by PeaceOut - Monday, March 5, 2012 3:37 AM | Last reply by Christopher84 - Monday, March 5, 2012 10:16 AM -
2 Votes
try and catch
So in some cases when more clean up is necessary, an old fashioned try-finally can still prove necessary ...Answered | 7 Replies | 3215 Views | Created by sateesh1234 - Saturday, July 10, 2010 12:41 PM | Last reply by Link.fr - Tuesday, July 13, 2010 11:54 PM -
2 Votes
try- catch question
See the below links to know more about Exceptions.Answered | 7 Replies | 1732 Views | Created by wendy elizabeth - Wednesday, November 2, 2011 3:33 AM | Last reply by Serguey123 - Wednesday, November 2, 2011 2:40 PM -
12 Votes
Try catch block
" That's really more related to whether or not you catch any exceptions at all, more so then whether you catch an ...Answered | 23 Replies | 4313 Views | Created by mpt_fz - Tuesday, February 21, 2012 3:19 PM | Last reply by Mr. Javaman II - Thursday, February 23, 2012 12:03 AM -
1 Votes
try ... catch issue
so above all should i consider this the shortcoming of SQL Server, I used think it that it was a shortcoming, but I'm getting more and more ...Answered | 11 Replies | 2966 Views | Created by Shanu_Shri - Wednesday, September 21, 2011 7:00 AM | Last reply by Shanu_Shri - Wednesday, September 21, 2011 11:56 AM -
1 Votes
Try ...
so if we wrap around the stored procedure call: begin try exec usp_test end try begin ...Answered | 4 Replies | 6597 Views | Created by D00linDalton - Wednesday, March 2, 2011 9:42 PM | Last reply by D00linDalton - Wednesday, March 2, 2011 11:23 PM -
0 Votes
Try/catch with XML
Please never use try catch block for generic exceptions as mentionned above.Answered | 5 Replies | 4895 Views | Created by Braydon D - Wednesday, July 9, 2014 7:09 PM | Last reply by Ioana Vasilescu - Thursday, July 10, 2014 10:25 AM -
3 Votes
Try-Catch Block Not Allowing Negative Numbers
You are correct, the dollar sign is kicked out as numeric, but I did not test for someone entering a dollar sign in front of a number after previously entering a ...Answered | 12 Replies | 11969 Views | Created by Mark Hammonds - Thursday, September 24, 2009 9:54 PM | Last reply by Mark Hammonds - Friday, September 25, 2009 9:33 PM -
0 Votes
Difference between Try...Catch & Try...Catch ex As Exception (VS 2013)
Before using try/catch consider using assertion e.g. before opening a text file use IO.File.Exists or rather than converting a value is a TextBox to a ...Answered | 5 Replies | 1494 Views | Created by LetMeCode - Friday, September 30, 2016 10:58 AM | Last reply by Frank L. Smith - Friday, September 30, 2016 3:53 PM -
0 Votes
TRY CATCH
No, they are not stored in log files, especially if you catch the exception.Answered | 2 Replies | 2762 Views | Created by SEAN_MCAD - Thursday, August 25, 2011 2:32 PM | Last reply by SEAN_MCAD - Thursday, August 25, 2011 3:05 PM -
1 Votes
try...catch throw
Wyck You make it in my idea more difficult than it is, your first message was correct.Answered | 8 Replies | 2664 Views | Created by Man Fan - Wednesday, January 25, 2012 2:09 AM | Last reply by Riced - Friday, January 27, 2012 9:30 AM -
4 Votes
Add Try/Catch programatically or validating try/catch in another function
The way you show currently means that you have to evaluate every return value which you get and that because it can be in your program really ...Answered | 3 Replies | 562 Views | Created by Sam Martini - Friday, July 22, 2016 8:30 PM | Last reply by Cor Ligthert - Saturday, July 23, 2016 6:27 AM -
3 Votes
Correct use of Try Catch
" I hope you had a chance to read the Best Practices from MSDN concerning Try-Catch.Answered | 12 Replies | 3705 Views | Created by Gene Magerr - Friday, April 10, 2009 1:12 PM | Last reply by Gene Magerr - Saturday, April 11, 2009 12:18 AM -
8 Votes
Try Catch - Good Practice?
Yet you do catch them here, along with a hundred others you have no idea about.Answered | 8 Replies | 1797 Views | Created by AD_AE - Thursday, May 9, 2013 10:45 AM | Last reply by Lisa Zhu - Thursday, May 23, 2013 8:56 AM - Items 1 to 20 of 3794882 Next ›
No announcements