---
name: "__gnu_cxx::forced_exception_error"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::forced_exception_error/3cxx"
---

# \_\_gnu\_cxx::forced\_exception\_error(3cxx)

## NAME

\_\_gnu\_cxx::forced\_exception\_error -

## SYNOPSIS

Inherits **std::exception**.

### Public Member Functions

virtual const char \* **what** () const   throw ()\

## Detailed Description

Thown by **throw\_allocator**.

Definition at line 80 of file throw\_allocator.h.

## Member Function Documentation

### virtual const char\* std::exception::what () const throw ()` [virtual]`, ` [inherited]`

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

Reimplemented in **std::lock\_error**, **std::ios\_base::failure**, **std::bad\_typeid**, **std::bad\_cast**, **std::runtime\_error**, **std::bad\_exception**, **std::logic\_error**, and **std::bad\_alloc**.

## Author

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