Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CHECK_EMPTY_CREFSTRING
CHECK_SITE_CONN
MG_SITE_CATCH
MG_SITE_CATCH_AND_THROW
MG_SITE_THROW
MG_SITE_TRY
#define CHECK_EMPTY_CREFSTRING | ( | str,
|  | methodName |  | ) |
Value:
    if (((CREFSTRING)str).empty())                                            \
        {                                                                         \
            MgStringCollection arguments;                                         \
            arguments.Add(L"1");                                                  \
            arguments.Add(MgResources::BlankArgument);                            \
            throw new MgInvalidArgumentException(methodName, __LINE__, __WFILE__, &arguments, L"MgStringEmpty", NULL); \
        }                                                                         \

Comments or suggestions? Send us feedback.