| MATLAB Compiler | ![]() |
mwException& operator=(const std::exception& e)
Assignment operator for mwException class.
C++ syntax
#include "mclcppclass.h" try { ... } catch (const std::exception& e) { mwException e2 = e; throw e2; }
Arguments
e. std::exception to initialize copy with.
Return value
A reference to the invoking mwException.
Description
Use this operator to create a copy of an std::exception. The copy will have the same error message as the original.
| mwException& operator=(const mwException& e) | mwArray Class | ![]() |
© 1994-2005 The MathWorks, Inc.