Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Standard C++ Library Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

<exception>

Module:  Standard C++ Library   Library:  Language support


Header

Local Index

No Entries

Summary

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().

Synopsis

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();
}

See Also

Exceptions, exception, bad_exception

Standards Conformance

ISO/IEC 14882:1998 -- International Standard for Information Systems --Programming Language C++, Section 19.1



Previous fileTop of DocumentContentsIndex pageNext file

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).

For more information on the Rogue Wave Standard C++ Library under open source, see Section 1.2 of the user's guide.