>>catch(...)
If you are indeed referring to the 'catch()' handler with the ellipsis - no. That's not possible since you don't have any kind of type information about the exception being caught. It could be anything from a 'std::exception*' to a plain char* or even an integer. What OS are you on?
Main Topics
Browse All Topics





by: SteHPosted on 2005-01-25 at 08:41:25ID: 13133707
have several catch clauses:
catch (CMyException* me) { // this can be any other type of exception.
}
catch (CFileException* fe) { // and here another.
}
catch (...) { // all the yet not handled exception come here.
}