MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User's Guide Page 280

  • Download
  • Add to my manuals
  • Print
  • Page
    / 354
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 279
const char *what() const throw()
Purpose Return error message contained in this exception
C++
Syntax
#include "mclcppclass. h"
try
{
...
}
catch (const std::exception& e)
{
std::cout << e.what() << std::endl; // Displays error
// message to
// standard out.
}
Arguments None
Return
Value
A p ointer to a NUL L-terminated character buffer containing the error
message.
Description Use this m ethod to retrieve the error message from an mwException.
C-26
Page view 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 353 354

Comments to this Manuals

No comments