Files
easy7zip/CPP/Common/Exception.h
Igor Pavlov d9666cf046 4.44 beta
2016-05-28 00:15:49 +01:00

14 lines
252 B
C
Executable File

// Common/Exception.h
#ifndef __COMMON_EXCEPTION_H
#define __COMMON_EXCEPTION_H
struct CSystemException
{
DWORD ErrorCode;
CSystemException(): ErrorCode(::GetLastError()) {}
CSystemException(DWORD errorCode): ErrorCode(errorCode) {}
};
#endif