Compiler Error C2318

no try block associated with this catch handler

A catch handler was defined but it was not preceded by a try block.

The following is an example of this error

#include <eh.h>
void main()
{
        // no try block
    catch( int )   // error
    {
        cout << "Integer exception raised.";
    }
}