⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exceptions.h

📁 压缩包里有教材<<C++模式设计-基于QT4开源跨平台开发框架>>所有源码
💻 H
字号:
#ifndef EXCEPTIONS_H#define EXCEPTIONS_H#include <QString>namespace Registrar_Namespace {    class Exception {    public:        Exception (const QString& reason);        virtual ~Exception () { }        QString what () const;    private:        QString m_Reason;    };    class NoNumberException : public Exception {    public:        NoNumberException(const QString& reason);    };    class NoStudentException : public Exception {    public:        NoStudentException(const QString& reason);    };    class DupNumberException : public Exception {    public:        DupNumberException(const QString& reason);    };}#endif        //  #ifndef EXCEPTIONS_H

⌨️ 快捷键说明

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