aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/MyException.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2021-12-27 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2022-03-18 15:35:13 +0500
commitf19f813537c7aea1c20749c914e756b54a9c3cf5 (patch)
tree816ba62ca7c0fa19f2eb46d9e9d6f7dd7c3a744d /CPP/Common/MyException.h
parent98e06a519b63b81986abe76d28887f6984a7732b (diff)
download7zip-f19f813537c7aea1c20749c914e756b54a9c3cf5.tar.gz
7zip-f19f813537c7aea1c20749c914e756b54a9c3cf5.tar.bz2
7zip-f19f813537c7aea1c20749c914e756b54a9c3cf5.zip
'21.07'21.07
Diffstat (limited to 'CPP/Common/MyException.h')
-rw-r--r--CPP/Common/MyException.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/CPP/Common/MyException.h b/CPP/Common/MyException.h
new file mode 100644
index 0000000..f0ad111
--- /dev/null
+++ b/CPP/Common/MyException.h
@@ -0,0 +1,14 @@
1// Common/Exception.h
2
3#ifndef __COMMON_EXCEPTION_H
4#define __COMMON_EXCEPTION_H
5
6#include "MyWindows.h"
7
8struct CSystemException
9{
10 HRESULT ErrorCode;
11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
12};
13
14#endif