Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2007

Tip: Looking for answers? Try searching our database.

throw list in VS 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dk60 - 16 Oct 2007 08:27 GMT
I am writing an application in C++ in VS 2005. I wrote a function with
a throw list, but the compiler and the runtime seem to ignore it. tha
function can still throw an exception that does not appear in the
throw list, and the handling environment catches it just fine.
Is it possible that VS does not support throw lists? Is there
something to be configured in the project so that it does support it?
Bo Persson - 16 Oct 2007 09:23 GMT
:: I am writing an application in C++ in VS 2005. I wrote a function
:: with a throw list, but the compiler and the runtime seem to ignore
[quoted text clipped - 4 lines]
:: something to be configured in the project so that it does support
:: it?

You are correct that exception specifications are not supported by the
compiler. Nothing we can do about that, except avoid them.  :-(

Bo Persson
Eberhard Schefold - 16 Oct 2007 14:48 GMT
> Is it possible that VS does not support throw lists?

http://msdn2.microsoft.com/en-us/library/wfa0edys(vs.80).aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.