nail
Joined: 30 Jun 2004 Posts: 18 Location: Krasnoznamensk, Moscow region, Russia
|
Posted: Sun Jul 04, 2004 7:13 am Post subject: Default exception handling |
|
|
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. |
|