std::exception

From Cppreference

Jump to: navigation, search
Defined in header <exception>

class exception;

Provides consistent interface to handle errors through the throw expression.

Most of the exception classes inherit from std::exception

[edit] Member functions

(constructor)
constructs the exception object
(public member function)
(destructor) [virtual]
destructs the exception object
(virtual public member function)
what [virtual]
returns explanatory string
(virtual public member function)