FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Default exception handling

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
nail



Joined: 30 Jun 2004
Posts: 18
Location: Krasnoznamensk, Moscow region, Russia

PostPosted: Sun Jul 04, 2004 7:13 am    Post subject: Default exception handling Reply with quote

How to set default exception hangling function? If an exception thrown and there is no catch block program dumps exception comment to console and terminates. I'd rather prefer some message box with some buttons. Of course, I can do folowing

Code:

void main()
{
    try
    {
         // all code goes here
    }
    catch
    {
        // messagebox, etc
    }
}


But this method would ignore unittests.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group