Files
easy7zip/Common/Exception.h
Igor Pavlov 8c1b5c7b7e 3.13
2016-05-28 00:15:41 +01:00

25 lines
348 B
C
Executable File

// 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