exception


The base class for all exceptions thrown by ANSI/ISO Standard C++ Library components.

Library

Standards<ToolKit>

Declaration


#include <exception>

class exception

Interface

Constructor
exception() throw()
Constructs a generic exception.
Constructor
exception( const exception& other ) throw()
Constructs a generic exception from other .
Destructor
~exception() throw()
Destroys this exception.
=
exception& operator=( const exception& other ) throw()
Assigns this exception from other .
what
virtual const char* what() const throw()
Returns a null-terminated string describing this exception.

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.