Пространства имён
Варианты
Действия

std::overflow_error

Материал из cppreference.com

 
 
 
Обработка ошибок
Обработка исключений
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exception
uncaught_exception
exception_ptr(C++11)
make_exception_ptr(C++11)
current_exception(C++11)
rethrow_exception(C++11)
nested_exception(C++11)
throw_with_nested(C++11)
rethrow_if_nested(C++11)
Неудачи обработки исключений
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
terminate
terminate_handler
get_terminate(C++11)
set_terminate
unexpected(устарело)
bad_exception
unexpected_handler(устарело)
get_unexpected(C++11)(устарело)
set_unexpected(устарело)
Исключение категорий
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
Коды ошибок
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Коды ошибок
errno
Утверждений
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
assert
system_error центр
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_category(C++11)
generic_category(C++11)
system_category(C++11)
error_condition(C++11)
errc(C++11)
error_code(C++11)
system_error(C++11)
 
std::overflow_error
Член функций
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
overflow_error::overflow_error
Унаследованные от std::exception
Original:
Inherited 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.
exception::~exception
exception::what
 
Заголовочный файл <stdexcept>
class overflow_error;
Определяет тип объекта должны быть брошены как исключение. Он сообщает об ошибках, которые возникают из-за целого значения в некоторых вычислений не могут быть представлены, как это было слишком большое положительное значение. Если значение с плавающей точкой типа, range_error должны использоваться.
Original:
Defines a type of object to be thrown as exception. It reports errors that arise because integer value in some computation could not be represented as it had too large positive value. If the value has floating point type, range_error should be used.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
cpp/error/exceptioncpp/error/runtime errorstd-overflow error-inheritance.svg
Описание изображения

Диаграмма наследования

[править] Член функций

строит объект исключения
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 функция-член) [edit]

Унаследован от std::exception

Member functions

[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 std::exception функция-член) [edit]
[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 std::exception функция-член) [edit]