formatexception.h

来自「一个symbian 冒险游戏代码」· C头文件 代码 · 共 32 行

H
32
字号
#ifndef _LANG_FORMATEXCEPTION_H
#define _LANG_FORMATEXCEPTION_H


#include <lang/Exception.h>


namespace lang
{


/**
 * Exception thrown when string formatting error occurs.
 * 
 * @ingroup lang
 */
class FormatException :
	public Exception
{
public:
	/** Creates an exception with the specified error description. */
	FormatException( const lang::Format& msg )						: Exception(msg) {}
};


} // lang


#endif // _LANG_FORMATEXCEPTION_H


⌨️ 快捷键说明

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