libstdc++
std::bad_exception Class Reference
Inheritance diagram for std::bad_exception:
[legend]

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

◆ bad_exception()

std::bad_exception::bad_exception ( )
inlinenoexcept

Definition at line 56 of file exception.

Member Function Documentation

◆ what()

virtual const char * std::bad_exception::what ( ) const
virtualnoexcept

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

Reimplemented from std::exception.


The documentation for this class was generated from the following file: