std::exception
From Cppreference
C++ Standard Library | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Utilities library | |||||||||||||||||||||||||||||
Error handling | |||||||||||||||||||||||||||||
std::exception | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
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
constructs the exception object (public member function) |
|
[virtual]
|
destructs the exception object (virtual public member function) |
copies exception object (public member function) |
|
[virtual]
|
returns explanatory string (virtual public member function) |