mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 22:11:38 -06:00
3.13
This commit is contained in:
24
Common/Exception.h
Executable file
24
Common/Exception.h
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user