When you add a simple try-catch like this
try {
}
catch(...) {
}
you ignore the exception, you just want to catch whatever it is and do something. But if you care about the exception, then you have to explicitly name the type of the exception you want to handle. It can be by value, by reference, by pointer (which is actually by value) or, in C++/CLI by handle (hat).
try {
}
catch(MyException& e1) {
}
catch(std::exception& e2) {
}
catch(ManagedException^ e3) {
}
catch(...) {
}
Here are some links for you:
Exceptions in C++/CLI[
^]
The try, catch, and throw Statements[
^]