NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2309

catch handler expected a parenthesized exception declaration

A catch handler has no parenthesized type.

Example

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