std::exception

std::exception

Defined in header <exception>
class exception;

Provides consistent interface to handle errors through the throw expression.

All exceptions generated by the standard library inherit from std::exception.

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 an explanatory string
(virtual public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/error/exception

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部