---
name: "__gnu_cxx::forced_exception_error"
section: "3"
platform: "linux"
package: "libstdc++6-4.3-doc"
version: "4.3.2-1.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::forced_exception_error"
---

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

## NAME

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

## SYNOPSIS

Inherits **std::exception**.

## Detailed Description

Thown by **throw\_allocator**.

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

### Public Member Functions

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

## 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::bad\_exception**, **std::bad\_alloc**, **std::bad\_cast**, **std::bad\_typeid**, **std::logic\_error**, **std::runtime\_error**, and **std::ios\_base::failure**.

## Author

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