Mercurial > vba-clojure
annotate src/win32/7zip/7z/CPP/Common/MyException.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
rev | line source |
---|---|
rlm@1 | 1 // Common/Exception.h |
rlm@1 | 2 |
rlm@1 | 3 #ifndef __COMMON_EXCEPTION_H |
rlm@1 | 4 #define __COMMON_EXCEPTION_H |
rlm@1 | 5 |
rlm@1 | 6 #include "MyWindows.h" |
rlm@1 | 7 |
rlm@1 | 8 struct CSystemException |
rlm@1 | 9 { |
rlm@1 | 10 HRESULT ErrorCode; |
rlm@1 | 11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {} |
rlm@1 | 12 }; |
rlm@1 | 13 |
rlm@1 | 14 #endif |