Exception thrown when an error has occured.
More...
List of all members.
Detailed Description
Exception thrown when an error has occured.
Errors may be be on the application-level or on a lower protocol-level.
There may be a numeric error code assoicated with the exception to indicate the exact error.
By default errno is set to Mgp.MGP_ERR_UNKNOWN.
Constructor & Destructor Documentation
| com::nmt::mgp::MgpException::MgpException |
( |
|
) |
[inline] |
| com::nmt::mgp::MgpException::MgpException |
( |
String |
msg |
) |
[inline] |
- Parameters:
-
| msg | string representation |
| com::nmt::mgp::MgpException::MgpException |
( |
int |
errno |
) |
[inline] |
| com::nmt::mgp::MgpException::MgpException |
( |
int |
errno, |
|
|
String |
msg | |
|
) |
| | [inline] |
- Parameters:
-
| errno | numeric error code |
| msg | string representation |
Member Function Documentation
| int com::nmt::mgp::MgpException::getErrno |
( |
|
) |
[inline] |
| String com::nmt::mgp::MgpException::toString |
( |
|
) |
[inline] |
Returns the error message.
Member Data Documentation
The documentation for this class was generated from the following file: