exceptions.h

来自「日志解析」· C头文件 代码 · 共 34 行

H
34
字号
/***************************************************************************	revision             : $Id: exceptions.h,v 1.1.1.1 2005/10/04 10:50:23 wiz Exp $    copyright            : (C) 2005 by Simone Tellini    email                : tellini@users.sourceforge.net ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef EXCEPTIONS_H#define EXCEPTIONS_H#include <stdexcept>using namespace std;class EWrongArgs {};class EEOF {};class EParse : public runtime_error {public:				EParse() : runtime_error( "" ) {}				EParse( const string& what ) : runtime_error( what ) {}};#endif /* EXCEPTIONS_H */

⌨️ 快捷键说明

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