5 #include "Public/ErrorHandling/IFrameworkException.h"
23 ErrorHandler errorHandler;
46 void Register(ErrorHandler errorHandler);
66 static void DefaultErrorHandler(
const IException& exception);
(Internal class) Manager for framework exceptions.
Definition: ExceptionManager.h:20
Interface for every exception related to the framework.
Definition: IException.h:14
void Unregister()
Unregister any registered error handler.
Definition: ExceptionManager.cpp:20
Definition: DefaultCalibrationInfoList.h:12
void Register(ErrorHandler errorHandler)
Registers an error handler. It override every previously registered error handler.
Definition: ExceptionManager.cpp:15
void Throw(const IException &exception) const
Throws the given framework exception. The registered handler will be called automatically to manage t...
Definition: ExceptionManager.cpp:25