Error del compilador C2309
el controlador de tipo catch esperaba una declaración de excepción entre paréntesis
Un controlador catch no tiene ningún tipo entre paréntesis.
El ejemplo siguiente genera el error C2309:
// C2309.cpp
// compile with: /EHsc
#include <eh.h>
class C {};
int main() {
try {
throw "ooops!";
}
catch C {} // C2309
// try the following line instead
// catch( C ) {}
}