ghy
Alejandro Acuña
2025-03-12 26319e4c5bfbee722c15b8e7ccca9b6127bb1cb8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Exception.h: interface for the Exception class.
//
//////////////////////////////////////////////////////////////////////
 
#ifndef AFX_EXCEPTION_H__ADE613F5_4DFC_4D41_8773_4798F099DCE4__INCLUDED_
#define AFX_EXCEPTION_H__ADE613F5_4DFC_4D41_8773_4798F099DCE4__INCLUDED_
 
#define MAX_EXCEPTION_LENGTH 512
 
class Exception  
{
public:
    Exception(int errorCode, const char *str, ...);
    virtual ~Exception();
    int ErrorCode();
    char * ErrorMessage();
private:
    int errorCode;
    char errorMessage[MAX_EXCEPTION_LENGTH];
};
 
#endif // !defined(AFX_EXCEPTION_H__ADE613F5_4DFC_4D41_8773_4798F099DCE4__INCLUDED_)