?? exception.h
字號:
/************************************************
Copyright by 97Dept. of Wholewise, 2001-09-01
File Name: pub_func.cpp
Created Date: 2001-10-15
Author: Yeyh
Version: 0.0.0.02
Create Version: 0.0.0.01
Last Version Date: 2001-10-24
Create Version Date: 2001-10-24
2) Modified By Name of Programmer
Date YYYY-MM-DD
Function Added:
Function Removed:
Function Changed:
Other changes:
......
************************************************/
#ifndef IBSS_EXCEPTION_
#define IBSS_EXCEPTION_
#ifndef TUXEDO
#define TUXEDO
#endif
#include <wwfml.h>
#include <mcci.h>
typedef struct _mcci_tuxedo_fml_ {
int ierrno; /* 錯誤碼 */
char *errstr; /* 錯誤信息 */
} MCCI_TUXEDO_FML_ERROR;
/* 定義錯誤列表 */
typedef struct _mcci_tuxedo_ {
int ierrno; /* 錯誤碼 */
char *errstr; /* 錯誤信息 */
} MCCI_TUXEDO_ERROR;
class TException
{
public:
TException();
TException(const char* err);
virtual ~TException();
virtual char* GetErrMsg() const;
private:
char errMsg[1024+1];
};
class TTUXException : public TException
{
public:
TTUXException(const char* cat,MCCI_TUXEDO_FML_ERROR errInfo,WWFLDID fieldid);
TTUXException(const char* cat,MCCI_TUXEDO_ERROR errInfo);
TTUXException(const char* cat,int errNo,const char* err,WWFLDID fieldid);
~TTUXException();
char *GetErrMsg() const;
private:
char tuxCat[15+1];
int tuxErrNo;
WWFLDID tuxFldID;
char tuxFldName[32+1];
char tuxErrMsg[524+1];
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -