Exception trapping in C?

Exception trapping in C?

Post by CBFalcone » Sun, 05 Dec 2004 14:27:08

... snip ...

A better answer, which would not generate the usual chorus of
off-topic protests about this system, would have been:

"I supply a non-standard C system restricted to windows which
includes exception handling. You can find out about it on the
comp.compilers.lcc newsgroup. Cross-posted there and follow-ups
set, since it is OT on c.l.c."

This has been so cross-posted with follow-ups set.

Available for consulting/temporary embedded and systems.
< http://www.yqcomputer.com/ > USE worldnet address!

1. Trapping Exception, yet system exception is still generated?

2. Unhandled exceptions in add-ins: beware!

Hi all,

This seems to be not clearly articulated in the docs, but my recent
experience shows this is a really important issue.

When you develop an add-in, you don't have any "default" unhandled exception
handlers like, say, in Windows Forms applications. Therefore, should an
unhandled exception be thrown, you might never know, and you will be racking
your brain why VS .NET have crashed 5 minutes later. So, I'd advise always
subscribing to the AppDomain's UnhandledException event and displaying a
message about an unhandled exception. Thus you will at least guarantee that
the exception will not slip "under the radar".

Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
Bring the power of unit testing to VS .NET IDE

3. vdproj MSI throwing exception: Invalid directory on URL during Ins

4. .NET Remoting problem - exception "Object Reference not set to ins

5. How to explicit trap a Time Out exception?

6. Trapping duplicate record exceptions

7. Trapping Exceptions on an ObjectDataSource

8. Trapping an Exception ocurring in a Webcontrol at the Page or parent WebControl level.

9. Trapping unhandled exceptions

10. Problem trapping exceptions raised from Tick event

11. Tricky exception trapping question

12. RtlpWaitForCriticalSection Exception Trap

13. Trapping data update exceptions

14. Need help trapping an exceptions

15. How to trap "Input String is not in Correct format" Exceptions while Databinding Gridview?