No announcements
Found 2476333 threads
-
0 Votes
Don't reach the Exception catch code
Task.Run(async () => { try..catch -> ... your new version of current code }.Answered | 13 Replies | 999 Views | Created by Markus222 - Saturday, October 24, 2015 2:44 PM | Last reply by pkr2000 - Monday, October 26, 2015 11:08 PM -
0 Votes
Catch Unhandled exceptions in unmanaged code
Unmanaged threads do not have this top-level handler, so they don't forward their exceptions to the unhandled exception handler.Answered | 9 Replies | 8636 Views | Created by void Func - Wednesday, November 4, 2009 3:23 AM | Last reply by Gubo - Wednesday, December 16, 2009 3:57 PM -
0 Votes
Catch as exception
Hello again, The way a TryCatch works is that you put any code that my create an error, and any code that depends on that code, in the try section.Answered | 3 Replies | 2905 Views | Created by Jebtrillion 137 - Monday, May 17, 2010 1:37 PM | Last reply by Crazypennie - Monday, May 17, 2010 3:42 PM -
0 Votes
Catching unknown exception in Coded UI Tests
Hi, If you don't want your test to break when an assert fails.Answered | 2 Replies | 5918 Views | Created by Tom Kise - Tuesday, May 17, 2011 12:23 PM | Last reply by Vinay P - Saturday, May 21, 2011 3:58 PM -
4 Votes
Difference between Catch and catch (exception ex)
A catch block without a type of exception will catch them.Answered | 5 Replies | 3471 Views | Created by NewCoder61 - Sunday, July 22, 2012 4:38 AM | Last reply by Louis.fr - Monday, August 6, 2012 2:37 PM -
2 Votes
catch VS catch(Exception) VS catch(Exception ex)
This is because providing a catch block without a brackets or arguments, we can catch all exceptions occurred inside a try block.Answered | 3 Replies | 6926 Views | Created by Yodabis - Tuesday, December 2, 2008 10:19 AM | Last reply by Yodabis - Tuesday, December 2, 2008 10:50 AM -
0 Votes
Will catch(Exception ex) catch a COMException?
COMException is specifically raised by the CLR's COM interop code as a result of a failure HRESULT return code from a COM method.Answered | 3 Replies | 5360 Views | Created by Rory__K - Friday, May 22, 2009 6:34 PM | Last reply by Karel Zikmund - Tuesday, May 26, 2009 7:12 PM -
5 Votes
enhancing try catch code
Also, you should have a generic catch in case something causes another type of exception to be thrown.Answered | 3 Replies | 597 Views | Created by essamce - Saturday, March 9, 2019 9:51 PM | Last reply by BonnieB - Sunday, March 10, 2019 4:48 PM -
3 Votes
Catching exceptions
It also doesn`t matter if you catch the exception as exception ( which is not the best way ) or as OperationCanceledException.Answered | 9 Replies | 2988 Views | Created by TonyFlora63 - Sunday, August 29, 2010 10:27 PM | Last reply by TonyFlora63 - Monday, August 30, 2010 2:24 PM -
0 Votes
How to catch Exception from my SP in code??
Hi, You shouldn't be throwing & catching exceptions left and right to handle your application's logic; exceptions are meant to handle actual errors, ...Answered | 6 Replies | 2010 Views | Created by Naveen27 - Monday, November 21, 2011 6:01 AM | Last reply by Mathieu Guindon - Monday, November 21, 2011 6:22 PM -
0 Votes
Catch an unknown exception
If you use a centralized or global exception handler, then you don't need a try/catch anywhere in the code not even in code being referenced.Answered | 5 Replies | 477 Views | Created by HansvB69 - Sunday, April 19, 2020 4:51 PM | Last reply by Viorel_ - Monday, April 20, 2020 5:43 AM -
0 Votes
Catch JavaScript Exception in C++
So please try to use the JavaScript code handles the exception, and gracefully terminate the C++ component.Answered | 1 Replies | 2749 Views | Created by gdoo - Thursday, July 19, 2012 12:26 PM | Last reply by MingXu-MSFT - Monday, July 23, 2012 4:25 PM -
1 Votes
Question about Catch and exceptions
Similarly, enumerables can't yield values after an exception has been raised.Answered | 4 Replies | 8530 Views | Created by Andy N3 - Wednesday, December 23, 2009 1:06 AM | Last reply by James Miles - Thursday, May 19, 2011 9:49 AM -
0 Votes
Cannot get SQLClient catch to work at catching exception
Here is the latest code block (showing both catches)..Answered | 25 Replies | 3815 Views | Created by Having Fun - Sunday, October 3, 2010 5:52 PM | Last reply by Phillip Marino - Wednesday, October 6, 2010 6:09 PM -
3 Votes
Catching Global Exceptions in Package
The best solution is deal with exceptions in your code where they can arise.Answered | 11 Replies | 7251 Views | Created by Federico Lois - Friday, March 26, 2010 8:42 PM | Last reply by Ryan Molden - Monday, January 31, 2011 7:53 PM -
0 Votes
Catch unknown exception
" I have ALL my events and my user routines (all code actually) in try-catch.Answered | 16 Replies | 5681 Views | Created by alexis4 - Friday, January 8, 2010 7:16 PM | Last reply by alexis4 - Sunday, January 10, 2010 1:36 PM -
2 Votes
quick question on catching exceptions
So if you are going to use try catch use multiple catch and throw valid message.Answered | 4 Replies | 2720 Views | Created by c0pe - Thursday, October 29, 2009 4:05 PM | Last reply by Bala.Nattarasan - Monday, November 2, 2009 6:21 AM -
1 Votes
Catch exception in endinvoke callback
throw e; don't work because we are in a sub thread It works but I think you mean that you can't catch it from the thread!Answered | 7 Replies | 6499 Views | Created by Troopers - Friday, June 25, 2010 8:32 AM | Last reply by Matthew Watson - Friday, June 25, 2010 11:54 AM -
4 Votes
How to catch exceptions?
Catch the different expected exceptions, but always catch the general "Exception" at en end.Answered | 5 Replies | 1954 Views | Created by Olaf Meding - Monday, December 3, 2012 10:24 PM | Last reply by Pieter Geerkens - Tuesday, December 4, 2012 4:21 PM -
2 Votes
Catching Exception XlangSoapException in Orchestration
Hi Steve, For BizTalk Exception Handling review Using BizTalk Server Exception Handling on MSDN.Answered | 3 Replies | 10390 Views | Created by Steve McDonald - Thursday, August 26, 2010 8:36 PM | Last reply by GettingCloser - Wednesday, November 28, 2012 1:59 PM - Items 1 to 20 of 2476333 Next ›
No announcements