rcssexceptions.h
来自「2009 ROBOCUP 仿真2DSERVER 源码」· C头文件 代码 · 共 53 行
H
53 行
// -*-c++-*-/*************************************************************************** rcssexceptions.h exceptions for rcss ------------------- begin : 27-JUN-2002 copyright : (C) 2002 by The RoboCup Soccer Server Maintenance Group. email : sserver-admin@lists.sourceforge.net***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU LGPL as published by the Free Software * * Foundation; either version 2 of the License, or (at your option) any * * later version. * * * ***************************************************************************/#ifndef RCSS_EXCEPTIONS_H#define RCSS_EXCEPTIONS_H#include <exception>#include <string>namespace rcss {namespace util {class NullErr : public std::exception {protected: std::string M_msg;public: NullErr( const char * file, const int & line, const char * msg ) throw(); ~NullErr() throw() { } const char * what() const throw() { return M_msg.c_str(); }};}}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?