Web API Reference MapGuide Open Source
#define MG_CATCH ( methodName   ) 

Value:

}                                                                         \
    catch (MgException* e)                                                    \
    {                                                                         \
        mgException = e;                                                      \
        mgException->AddStackTraceInfo(methodName, mgStackParams, __LINE__, __WFILE__);      \
    }                                                                         \
    catch (exception& e)                                                      \
    {                                                                         \
        mgException = MgSystemException::Create(e, methodName, __LINE__, __WFILE__); \
    }                                                                         \
    catch (...)                                                               \
    {                                                                         \
        mgException = new MgUnclassifiedException(methodName, __LINE__, __WFILE__, NULL, L"", NULL); \
    }                                                                         \


Comments or suggestions? Send us feedback.