exception.h
来自「一个symbian 冒险游戏代码」· C头文件 代码 · 共 35 行
H
35 行
#ifndef _LANG_EXCEPTION_H
#define _LANG_EXCEPTION_H
#include <lang/Throwable.h>
namespace lang
{
/**
* Base class for all exceptions that an application might want to handle.
*
* @ingroup lang
*/
class Exception :
public Throwable
{
public:
/** Creates an exception with no error description. */
Exception() {}
/** Creates an exception with the specified error description. */
Exception( const lang::Format& msg ) : Throwable(msg) {}
};
} // lang
#endif // _LANG_EXCEPTION_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?