xref: /aosp_15_r20/external/lzma/CPP/Common/MyException.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1*f6dc9357SAndroid Build Coastguard Worker // Common/Exception.h
2*f6dc9357SAndroid Build Coastguard Worker 
3*f6dc9357SAndroid Build Coastguard Worker #ifndef ZIP7_INC_COMMON_EXCEPTION_H
4*f6dc9357SAndroid Build Coastguard Worker #define ZIP7_INC_COMMON_EXCEPTION_H
5*f6dc9357SAndroid Build Coastguard Worker 
6*f6dc9357SAndroid Build Coastguard Worker #include "MyWindows.h"
7*f6dc9357SAndroid Build Coastguard Worker 
8*f6dc9357SAndroid Build Coastguard Worker struct CSystemException
9*f6dc9357SAndroid Build Coastguard Worker {
10*f6dc9357SAndroid Build Coastguard Worker   HRESULT ErrorCode;
CSystemExceptionCSystemException11*f6dc9357SAndroid Build Coastguard Worker   CSystemException(HRESULT errorCode): ErrorCode(errorCode) {}
12*f6dc9357SAndroid Build Coastguard Worker };
13*f6dc9357SAndroid Build Coastguard Worker 
14*f6dc9357SAndroid Build Coastguard Worker #endif
15