User`s guide

mwException(const std::exception& e)
Purpose Create new mwException from existing std::exc eption
C++
Syntax
#include "mclcppclass. h"
try
{
...
}
catch (const std::exception& e)
{
throw mwException(e); // Rethrows same error.
}
Arguments e
std::exception
to create copy of.
Return
Value
None
Description Use this constructor to create a new mwException and initialize the
error message with the error m essage from the given
std::exception.
C-25