exception.h

来自「QT4的utils库源码包.解压后运行./configure配置,然后make.」· C头文件 代码 · 共 34 行

H
34
字号
#ifndef MYEXCEPTION_H#define MYEXCEPTION_H#include <QString>#include "myexport.h"/** A base class for user defined Exceptions.  We may replace this class with a standard exception, as soon as I can find one I like. For now, @ref assertequalsex.h throws exceptions and @ref TestCase will catch them.    @author S. Alan Ezust sae@mcs.suffolk.edu */class UTILS_EXPORT Exception : public QString {public:    Exception(QString message=QString()) :    QString(message) {}    /**      By defining a conversion opreator to const char*,      we can place this inside a qDebug() call      */    virtual ~Exception() {}private:};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?