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 C2312

'exception1' : is caught by 'exception2' on line number

Two handlers catch the same exception type.

Example

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