mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 02:07:09 -06:00
25 lines
348 B
C
Executable File
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
|
|
|