Compiler Error C2319

'keyword' must be followed by a compound statement. Missing '{'

A try or catch block was not found following the try or catch statement. The block must be enclosed in parentheses.

The following is an example of this error:

#include <eh.h>
class C;
void main()
{
    try
    {
        throw "ooops!";
    }
    catch( C ) ;    // error, missing block
    catch( C ) {}   // OK
}