C++ Math Library Reference | ![]() ![]() |
C++ Prototype
void mwDisplayException(const mwException &ex);
Arguments
ex
Description
mwDisplayException()
sends an exception to the output function set by the most recent call to mwSetExceptionMsgHandler()
. If mwSetExceptionMsgHandler()
has never been called, mwDisplayException()
uses the default error message handling function or the output function specified by a call to mwSetErrorMsgHandler()
.
Example
// try-block try { eig(A); } // catch-block catch(mwException &ex) { mwDisplayException(ex); }
See Also
mwGetErrorMsgHandler
, mwGetExceptionMsgHandler
, mwSetErrorMsgHandler
, mwSetExceptionMsgHandler
![]() | Utility Routine Reference | mwGetErrorMsgHandler | ![]() |