23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mwSetExceptionMsgHandler<br />

0mwSetExceptionMsgHandler<br />

Purpose Set an alternate exception handling function<br />

<strong>C++</strong> Prototype void mwSetExceptionMsgHandler(mwExceptionMsgFunc f);<br />

Arguments mwExceptionMsgFunc f<br />

Pointer to an exception handling function that takes an mwException as an<br />

argument and returns void.<br />

415<br />

typedef void (*mwExceptionMsgFunc)(const mwException &);<br />

Description The default exception handling function simply prints the exception using the<br />

error handling routine. If this behavior is inappropriate for your application,<br />

the mwSetExceptionMsgHandler function allows you to set an alternate<br />

exception handling function.<br />

See Also mwDisplayException, mwGetErrorMsgHandler, mwGetExceptionMsgHandler,<br />

mwSetErrorMsgHandler

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!