aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/MyException.h
diff options
context:
space:
mode:
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