Drive Engine  1.0.0
Plateforme de reconstruction 3D
ErrorHandling.h
1 // Copyright (c) 2015. All rights reserved to DriveEngine Team.
2 
3 #pragma once
4 
5 #include "Export.h"
6 #include "ErrorHandling/IException.h"
7 
8 
9 //=====================================================================
10 // Error handling
11 //=====================================================================
12 
19 FRAMEWORK_API void RegisterErrorHandler(DriveEngine::ErrorHandler errorHandler);
20 
26 FRAMEWORK_API void ThrowException(const DriveEngine::IException& exception);
27 
28 
29 
30 #ifdef ENABLE_TEST_FUNCTIONS
31 
38 FRAMEWORK_API void TestThrowFrameworkException(const char* message);
39 
43 FRAMEWORK_API void TestUnregisterErrorHandler();
44 
45 #endif
Interface for every exception related to the framework.
Definition: IException.h:14