| 108 | The !MgException class will be enhanced as follows: |
| 109 | {{{ |
| 110 | class MG_FOUNDATION_API MgException |
| 111 | { |
| 112 | |
| 113 | PUBLISHED_API: |
| 114 | |
| 115 | /////////////////////////////////////////////////////////////////////////// |
| 116 | /// \brief |
| 117 | /// Retrieve the formatted exception message. This is the localized and |
| 118 | /// end user readable string. |
| 119 | /// |
| 120 | /// \return |
| 121 | /// Localized exception message. See MgSiteConnection for information on specifying |
| 122 | /// the locale. |
| 123 | /// |
| 124 | STRING GetMessage(); |
| 125 | |
| 126 | /////////////////////////////////////////////////////////////////////////// |
| 127 | /// \brief |
| 128 | /// Retrieve the formatted exception details. This includes the user readable |
| 129 | /// string and the stack of method names which generated the error. This string |
| 130 | /// provides more information to web application developers than the message. |
| 131 | /// |
| 132 | /// \return |
| 133 | /// Formatted exception details in current locale. See MgSiteConnection for information on specifying |
| 134 | /// the locale. |
| 135 | /// |
| 136 | STRING GetDetails(); |
| 137 | |
| 138 | /////////////////////////////////////////////////////////////////////////// |
| 139 | /// \brief |
| 140 | /// Retrieve the formatted exception stack trace. This includes file and line |
| 141 | /// numbers, method names, and method parameters. This string is useful for |
| 142 | /// debugging !MapGuide. |
| 143 | /// |
| 144 | /// \return |
| 145 | /// Call stack trace with method parameters |
| 146 | /// |
| 147 | STRING GetStackTrace() throw(); |
| 148 | }}} |
| 149 | |