#include <mmserror.h>
Public Member Functions | |
MMSError (int code, string message) | |
Constructor. | |
~MMSError () | |
Destructor. | |
string | getMessage () |
Retrieve the error message saved in message. | |
int | getCode () |
Retrieve the error code saved in code. | |
Private Attributes | |
string | message |
Explanation of the error that caused this exception object to be thrown. | |
int | code |
Error code (currently not used). |
Derive your exception class from this one to extend exception handling.
Definition at line 54 of file mmserror.h.
MMSError::MMSError | ( | int | code, | |
string | message | |||
) | [inline] |
Constructor.
code | error code (currently not used) | |
message | error message which describes the exception more detailed |
Definition at line 62 of file mmserror.h.
MMSError::~MMSError | ( | ) | [inline] |
string MMSError::getMessage | ( | ) |
Retrieve the error message saved in message.
Definition at line 47 of file mmserror.cpp.
int MMSError::getCode | ( | ) |
Retrieve the error code saved in code.
Definition at line 43 of file mmserror.cpp.
string MMSError::message [private] |
Explanation of the error that caused this exception object to be thrown.
Definition at line 84 of file mmserror.h.
int MMSError::code [private] |