M
Michael Kantarovich
Hello,
I have a class, that in all it's methods, following code won't reach
the catch statment!! All other classes in the project are working fine.
....
try {
throw std::exception();
}
catch (...) {
cout << "I am here." << endl; //THIS LINE IS NEVER REACHED.
//IN STEAD OF REACHING THIS LINE,
//CONTROL IS PASSED TO HIGHER CATCH STATMENT
//IN THE CALLER, BUT NOT IN THIS CLASS/METHOD!
}
....
I can't imagine what is wrong ... i tried a lot of things, all without any effect.
I am using Solaris 8 and SunCC 5.5 (Compiler Collection 8).
Thanks a lot for help!
I have a class, that in all it's methods, following code won't reach
the catch statment!! All other classes in the project are working fine.
....
try {
throw std::exception();
}
catch (...) {
cout << "I am here." << endl; //THIS LINE IS NEVER REACHED.
//IN STEAD OF REACHING THIS LINE,
//CONTROL IS PASSED TO HIGHER CATCH STATMENT
//IN THE CALLER, BUT NOT IN THIS CLASS/METHOD!
}
....
I can't imagine what is wrong ... i tried a lot of things, all without any effect.
I am using Solaris 8 and SunCC 5.5 (Compiler Collection 8).
Thanks a lot for help!