Programming 版 (精华区)
发信人: Mice (做梦的鼠儿), 信区: Programming
标 题: VC(mfc)-------异常处理类(4)
发信站: 紫丁香 (Tue Oct 7 08:26:43 1997)
CArchiveException类 (归档异常处理)
定义如下:
class CArchiveException : public CException
{
DECLARE_DYNAMIC(CArchiveException)
public:
enum
{
none, // 没有错误
generic, // 普通错误
readOnly, // 试图写一个只读归档文件
endOffFile, // 文件尾
writeOnly, // 试图读一个只写归档文件
badIndes, // 非法文件
badClass, // 未能将对象读入一个新对象类型
badSchema, // 不能读版本不同的对象
};
// Constructor
CArchiveException(int cause = CArchiveException :: none);
// Attributes
int m_cause;
#ifdef_DEBUG
virtual void Dump(CDumpContext& dc) const;
#endif
};
--
我是一只好老鼠!
/>>>
(*>
()%\%\%\%|*|33333333333333333333333333333333333>
(*>
\>>>
※ 来源:.紫丁香 pclinux.hit.edu.cn.[FROM: 202.118.226.75]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.135毫秒