I'm trying to implement something similar to the following in my VS 2008 C++/MFC project:

```
class myClass()
{
public:
    myClass()
    {
        //Do work... check for errors
        if(var < 0)
        {
            //Error
            TCHAR buff[1024];
            _snwprintf_s(buff, SIZEOF(buff), L"ERROR: The value of var=%d", var);
            throw buff;
        }
    }
};

__try
{
    //Begin using class above
    //The class member may be also defined on the global scale, thus
    //the following exception trap may happen via SetUnhandledExceptionFilter

    myClass mc;
}
__except(1)
{
    //Process unhandled exception
    //But how to trap the string passed in 'throw' above?
}

```

But I can't seem to catch the "string" that I'm passing in the `throw` statement.