No announcements
Found 2686845 threads
-
2 Votes
exceptions (throw and catch)
to throw entities of type Class and we instead threw string, but visual studio 2012 and 2015 run this code normally and display the "Caught!" ...Answered | 16 Replies | 855 Views | Created by Mohamed EL Tayr - Monday, July 27, 2015 5:20 PM | Last reply by vcangel - Saturday, August 1, 2015 2:31 PM -
1 Votes
How to throw exceptions without faulting reliable session's channel?
session anymore and the proxy and the session should be re-created. Is there any possibility to throw (and catch) exceptions ...Answered | 2 Replies | 3545 Views | Created by V Mattila - Tuesday, November 25, 2008 4:41 PM | Last reply by V Mattila - Wednesday, November 26, 2008 9:35 AM -
2 Votes
C++/CX - manually throwing exceptions and return the throw-Message to a String^
hello, i am trying to manually throw exceptions and want to use the message of the exception for a textblock. The excp-string (String^) ...Answered | 2 Replies | 1730 Views | Created by dotlike.net - Friday, April 26, 2013 2:29 PM | Last reply by - Sunday, April 28, 2013 1:53 PM -
0 Votes
Translating exceptions from C++ to .NET
you need to pass the exception, you need to catch the C++ exception and throw a __gcnew ApplicationException.Answered | 1 Replies | 4410 Views | Created by Gathar - Thursday, June 22, 2006 7:26 PM | Last reply by nobugz - Thursday, June 22, 2006 8:11 PM -
0 Votes
Catching/filtering exceptions on the remoting server
{ _realMethod(); } catch ...Answered | 1 Replies | 3335 Views | Created by OhHelpMe - Wednesday, March 7, 2007 8:32 PM | Last reply by Sowmy Srinivasan - Thursday, March 8, 2007 4:42 AM -
0 Votes
Catch JavaScript Exception in C++
written, and an invalid input is passed to your component due to unhandled exceptions, your component need to validate the input and throw a meaningful ...Answered | 1 Replies | 2617 Views | Created by gdoo - Thursday, July 19, 2012 12:26 PM | Last reply by MingXu-MSFT - Monday, July 23, 2012 4:25 PM -
0 Votes
how to log and catch exceptions in a dll?
client will be unaware of your implementation choice and may be totally unprepared to receive and handle any SQL related exception. In this case, it might be a good idea to ...Answered | 1 Replies | 2538 Views | Created by witdaj - Tuesday, March 23, 2010 5:02 PM | Last reply by Mario Cossi - Tuesday, March 23, 2010 5:33 PM -
1 Votes
error
int wmain() { throw 1; return 0; } That is, uncaught C++ exceptions. Another one which is a bit subtler ...Answered | 2 Replies | 647 Views | Created by xswteem - Saturday, July 12, 2014 12:33 PM | Last reply by Darran Rowe - Saturday, July 12, 2014 3:39 PM -
0 Votes
exception in domain service
then i stoped the sql server service and put a breakpoint in the try. when i run the application, the catch is ...Answered | 2 Replies | 2101 Views | Created by sepilrat - Monday, September 6, 2010 10:51 PM | Last reply by sepilrat - Wednesday, September 8, 2010 1:47 PM -
0 Votes
Error in a window load event stops load events of usercontrols contained in the window
events may throw exceptions and no code can handle them. Please monitor the output window in debug, the handled/unhandled exceptions can be shown in ...Answered | 1 Replies | 3770 Views | Created by sqlguy - Tuesday, June 29, 2010 5:54 PM | Last reply by Jie Bao - Monday, July 5, 2010 5:44 AM -
0 Votes
Standard format or best-practice for logging exceptions and trace information?
{ Whatever(); } catch(Exception e) { if(IsDebugBuild) ...Answered | 1 Replies | 3777 Views | Created by Chris O_Brien - Thursday, June 21, 2007 5:58 PM | Last reply by ThE_lOtUs - Thursday, June 21, 2007 6:15 PM -
2 Votes
Should I catch all the exceptions that the method I used might throw?
" because i found the method in "try" will throw those kinds of exceptions. and told the method that they will only need to catch the MMException ...Answered | 4 Replies | 3006 Views | Created by 0x409 - Thursday, October 21, 2010 6:14 AM | Last reply by Mike_999 - Thursday, October 21, 2010 7:34 AM -
0 Votes
Needs a Technical Suggesstion Over Try Catch Block
Catching general exceptions are not advisable. Catch Exceptions if you are not going to handle it. Dont catch and ...Answered | 2 Replies | 3082 Views | Created by Hamad Salahuddin - Tuesday, April 28, 2009 5:01 AM | Last reply by codevanced - Tuesday, April 28, 2009 2:20 PM -
0 Votes
Catching exceptions
Hi!How can I catch processor exceptions, such as "null pointer exceptions" and similiar? I have tried set_terminate, but that appears to catch ...Answered | 1 Replies | 5166 Views | Created by Nille - Friday, September 30, 2005 12:29 PM | Last reply by Martin Richter - Friday, September 30, 2005 1:54 PM -
0 Votes
try-throw-catch: exceptions hadling
Do 'throw' and 'catch' copy-construct their copy objects unless their arguments are pointers or ...Answered | 7 Replies | 3074 Views | Created by chong kyong kim - Tuesday, July 16, 2013 12:39 PM | Last reply by Igor Tandetnik - Wednesday, July 24, 2013 6:23 PM -
0 Votes
Visual Studio 2005 Express Edition: Continue execution after unhandled exception
Exceptions are expensive and slow. If you throw and do not catch, it bubbles to the top of your app, and no resume is possible at that ...Answered | 1 Replies | 3978 Views | Created by Jakkie_ - Wednesday, May 24, 2006 7:43 PM | Last reply by cgraus - Wednesday, May 24, 2006 9:08 PM -
1 Votes
How to catch an exception in outlook in c# if Outlook.MailItem.Send() fails due to inavlid recipients list or recipients who no more exist now
sender of the mail will get nondelivered report, to his inbox, but what i excatly need is that , if the sent email because of improper recipient id, then i should know that and ...Answered | 1 Replies | 808 Views | Created by sanjaytst - Thursday, December 18, 2014 9:41 AM | Last reply by Dmitry Streblechenko _MVP_ - Friday, December 19, 2014 6:02 AM -
1 Votes
When use Throw and when use Try-Catch?
Throw exceptions when you need to communicate exceptional error information. By capitalizing Throw ...Answered | 4 Replies | 5580 Views | Created by asadim - Tuesday, January 29, 2008 8:58 AM | Last reply by bucman6 - Tuesday, January 29, 2008 6:48 PM -
1 Votes
C# exceptions global handler under interop scenario
have to catch C# exceptions in our managed C++ code, create their corresponding C++ exception and throw them. These C++ exceptions are catched ...Answered | 3 Replies | 2205 Views | Created by AlexVCG - Friday, May 10, 2013 3:54 PM | Last reply by i1friend - Tuesday, May 14, 2013 8:18 AM -
1 Votes
ScheduledObserver (ObserveOn) destroys stracktrace by throwing caught exceptions
http://social.msdn.microsoft.com/Forums/en-AU/rx/thread/4f096009-1fd5-4631-9d5d-602eeef28751), the internal class ScheduledObserver catches and throws exceptions thatAnswered | 1 Replies | 3937 Views | Created by Justin Th - Monday, June 20, 2011 12:20 PM | Last reply by Bart De Smet [MSFT] - Tuesday, June 21, 2011 8:34 AM - Items 1 to 20 of 2686845 Next ›
No announcements