std::exception
Материал из cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Заголовочный файл <exception>
|
||
| class exception; |
||
Предоставляет единый интерфейс для обработки ошибок через бросать слова.
Original:
Provides consistent interface to handle errors through the бросать слова.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Все исключения, возникающие при стандартной библиотеки наследуют от std::exception
Original:
All exceptions generated by the standard library inherit from std::exception
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
-
- ios_base::failure(начиная с C++11)
- bad_typeid
- bad_cast
- bad_weak_ptr(C++11)
- bad_function_call(C++11)
- bad_alloc
- bad_array_new_length(C++11)
- bad_exception
- ios_base::failure(до C++11)
[править] Член функций
| строит объект исключения Original: constructs the exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public функция-член) | |
| [virtual] |
разрушает объект исключения Original: destructs the exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtual public функция-член) |
| копии объекта исключения Original: copies exception object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public функция-член) | |
| [virtual] |
возвращает пояснительной строкой Original: returns an explanatory string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtual public функция-член) |