MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelská příručka Strana 280

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 354
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 353 354

Komentáře k této Příručce

Žádné komentáře