Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgException Class Reference

Base class for exceptions. More...

Inherits MgSerializable.

Inherited by MgApplicationException, MgSystemException, and MgThirdPartyException.

List of all members.

## Public Member Functions
STRING | GetDetails () throw ()
| Retrieve the formatted exception details. This includes the user readable string and the stack of method names which generated the error. This string provides more information to web application developers than the message. If a method does not have any parameters it will be omitted from the details.
STRING | GetMessage () throw ()
| Retrieve the formatted exception message. This is the localized and end user readable string.
STRING | GetStackTrace () throw ()
| Retrieve the formatted exception stack trace. This includes file and line numbers, method names, and method parameters. This string is useful for debugging !MapGuide.

## Detailed Description

Base class for exceptions.

Comments or suggestions? Send us feedback.