User`s guide
mwException(const char* msg)
Purpose Construct new mwException with spec ified error message
C++
Syntax
#include "mclcppclass. h"
try
{
throw mwException("Th is is an error");
}
catch (const mwException& e)
{
std::cout << e.what() << std::endl // Displays "This
// is an error" to
// standard out.
}
Arguments msg
Error message.
Return
Value
None
Description Use this constructor to create a n mwException with a specified error
message.
C-23