现在的位置: 首页 > 综合 > 正文

exception in c++

2013年08月21日 ⁄ 综合 ⁄ 共 468字 ⁄ 字号 评论关闭

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.

抱歉!评论已关闭.