Scroll to navigation

std::bad_exception(3cxx) std::bad_exception(3cxx)

NAME

std::bad_exception

SYNOPSIS

Inherits std::exception.

Public Member Functions


virtual const char * what () const noexcept

Detailed Description

If an exception is thrown which is not listed in a function's exception specification, one of these may be thrown.

Definition at line 53 of file exception.

Constructor & Destructor Documentation

std::bad_exception::bad_exception () [inline], [noexcept]

Definition at line 56 of file exception.

Member Function Documentation

virtual const char * std::bad_exception::what () const [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++