This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

24
Common/Exception.h Executable file
View File

@@ -0,0 +1,24 @@
// Common/Exception.h
// #pragma once
#ifndef __COMMON_EXCEPTION_H
#define __COMMON_EXCEPTION_H
/*
struct CCException
{
CCException() {}
virtual ~CCException() {}
};
*/
struct CSystemException
{
DWORD ErrorCode;
CSystemException(): ErrorCode(::GetLastError()) {}
CSystemException(DWORD errorCode): ErrorCode(errorCode) {}
};
#endif