
Module: Standard C++ Library Library: Language support
Header
The header <exception> is part of the Language support library of the Standard C++ Library. It contains definitions of types and functions related to the handling of exceptions in a C++ program. The header defines the classes exception and bad_exception, the types unexpected_handler and terminate_handler, and the functions set_unexpected(), unexpected(), set_terminate(), terminate(), and uncaught_exception().
namespace std {
class exception;
class bad_exception;
typedef void (*unexpected_handler)();
unexpected_handler set_unexpected(unexpected_handler)
throw();
void unexpected();
typedef void (*terminate_handler)();
terminate_handler set_terminate(terminate_handler) throw();
void terminate();
bool uncaught_exception();
}
Exceptions, exception, bad_exception
ISO/IEC 14882:1998 -- International Standard for Information Systems --Programming Language C++, Section 19.1
Copyright (c) 1994-2006 Rogue Wave Software, a Quovadx Division.
Licensed under the Apache License, Version 2.0.
Contact Rogue Wave about documentation or support issues. You can also seek help from other developers through the Apache stdcxx community (see below).