Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

DECLARE_EXCEPTION_ABSTRACT
DECLARE_EXCEPTION_DEFAULTS
IMPLEMENT_EXCEPTION_ABSTRACT
IMPLEMENT_EXCEPTION_DEFAULTS
MG_CATCH
MG_CATCH_AND_RELEASE
MG_CATCH_AND_THROW
MG_THROW
MG_TRY
#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.