exception in c++

来源:互联网 发布:淘宝网站特点 编辑:程序博客网 时间:2024/06/07 02:58

exception

class exception {public:    exception() throw();    exception(const exception& rhs) throw();    exception& operator=(const exception& rhs) throw();    virtual ~exception() throw();    virtual const char *what() const throw();    };

The class serves as the base class for all exceptions thrown by certain expressions and by the Standard C++ library. The C string value returned by what() is left unspecified by the default constructor, but may be defined by the constructors for certain derived classes. None of the member functions throw any exceptions.

原创粉丝点击