18 #ifndef __ERROR_HANDLER_H__
19 #define __ERROR_HANDLER_H__
Class that controls the handling of errors.
static void handleError(const char *message, HandlingType handlingType=EXCEPTION)
Handle an error based on the error handling type.
~ErrorHandler()
Destructor.
ErrorHandler()
Constructor.
HandlingType
This specifies how this class should respond to errors.
@ RETURN
just return failure on the error
@ ABORT
exit the program on the error
@ EXCEPTION
throw an exception for the error