1 #ifndef __ExceptionCheck_h_7f6db1a3a9994e3382e6b4d5c3fd2fd7
2 #define __ExceptionCheck_h_7f6db1a3a9994e3382e6b4d5c3fd2fd7
14 class ExceptionDestroyer
20 const pbio::import::DllHandle &dll_handle) :
22 dll_handle(dll_handle)
30 dll_handle.apiObject_destructor(exception);
35 void*
const exception;
36 const pbio::import::DllHandle &dll_handle;
42 const pbio::import::DllHandle &dll_handle)
44 const ExceptionDestroyer ex_de(exception, dll_handle);
48 const std::string what = dll_handle.apiException_what(exception);
50 const uint32_t code = dll_handle.apiException_code(exception);
60 #endif // __ExceptionCheck_h_7f6db1a3a9994e3382e6b4d5c3fd2fd7
Error - the class of exceptions thrown when errors occur.
The class of exceptions thrown when errors occur.
Definition: Error.h:26