Error del compilador C2310
los controladores de tipo catch deben especificar un tipo
Un controlador de tipo catch no especifica ningún tipo o especifica varios tipos.
El ejemplo siguiente genera el error C2310:
// C2310.cpp
// compile with: /EHsc
#include <eh.h>
int main() {
try {
throw "Out of memory!";
}
catch( int ,int) {} // C2310 two types
// try the following line instead
// catch( int) {}
}