73extern "C" void ErrorHandler(
int level,
const char *location,
const char *fmt, std::va_list va);
80extern void Info(
const char *location,
const char *msgfmt, ...)
81#if defined(__GNUC__) && !defined(__CINT__)
82__attribute__((format(printf, 2, 3)))
85extern void Warning(
const char *location,
const char *msgfmt, ...)
86#if defined(__GNUC__) && !defined(__CINT__)
87__attribute__((format(printf, 2, 3)))
90extern void Error(
const char *location,
const char *msgfmt, ...)
91#if defined(__GNUC__) && !defined(__CINT__)
92__attribute__((format(printf, 2, 3)))
95extern void Break(
const char *location,
const char *msgfmt, ...)
96#if defined(__GNUC__) && !defined(__CINT__)
97__attribute__((format(printf, 2, 3)))
100extern void SysError(
const char *location,
const char *msgfmt, ...)
101#if defined(__GNUC__) && !defined(__CINT__)
102__attribute__((format(printf, 2, 3)))
105extern void Fatal(
const char *location,
const char *msgfmt, ...)
106#if defined(__GNUC__) && !defined(__CINT__)
107__attribute__((format(printf, 2, 3)))
112extern void MayNotUse(
const char *method);
113extern void Obsolete(
const char *function,
const char *asOfVers,
const char *removedFromVers);
118#define R__ASSERT(e) \
120 if (!(e)) ::Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \
124 if (!(e)) ::Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
void DefaultErrorHandler(int level, Bool_t abort, const char *location, const char *msg)
The default error handler function.
R__EXTERN const char * kAssertMsg
R__EXTERN const char * kCheckMsg
void ErrorHandler(int level, const char *location, const char *fmt, std::va_list va)
General error handler function. It calls the user set error handler.
ErrorHandlerFunc_t GetErrorHandler()
Returns the current error handler function.
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
R__EXTERN Int_t gErrorAbortLevel
void AbstractMethod(const char *method)
This function can be used in abstract base classes in case one does not want to make the class a "rea...
R__EXTERN Bool_t gPrintViaErrorHandler
void SysError(const char *location, const char *msgfmt,...)
Use this function in case a system (OS or GUI) related error occurred.
void(* ErrorHandlerFunc_t)(int level, Bool_t abort, const char *location, const char *msg)
void Break(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
void MayNotUse(const char *method)
This function can be used in classes that should override a certain function, but in the inherited cl...
constexpr Int_t kSysError
R__EXTERN Int_t gErrorIgnoreLevel
void Obsolete(const char *function, const char *asOfVers, const char *removedFromVers)
Use this function to declare a function obsolete.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
ErrorHandlerFunc_t SetErrorHandler(ErrorHandlerFunc_t newhandler)
Set an errorhandler function. Returns the old handler.
void Fatal(const char *location, const char *msgfmt,...)
Use this function in case of a fatal error. It will abort the program.
This class implements a mutex interface.
std::function< const char *()> ErrorSystemMsgHandlerFunc_t
Retrieves the error string associated with the last system error.
void MinimalErrorHandler(int level, Bool_t abort, const char *location, const char *msg)
A very simple error handler that is usually replaced by the TROOT default error handler.
ErrorSystemMsgHandlerFunc_t SetErrorSystemMsgHandler(ErrorSystemMsgHandlerFunc_t h)
Returns the previous system error message handler.
ErrorSystemMsgHandlerFunc_t GetErrorSystemMsgHandler()
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...