75extern "C" void ErrorHandler(
int level,
const char *location,
const char *fmt, std::va_list va);
82extern void Info(
const char *location,
const char *msgfmt, ...)
83#if defined(__GNUC__) && !defined(__CINT__)
84__attribute__((format(printf, 2, 3)))
87extern void Warning(
const char *location,
const char *msgfmt, ...)
88#if defined(__GNUC__) && !defined(__CINT__)
89__attribute__((format(printf, 2, 3)))
92extern void Error(
const char *location,
const char *msgfmt, ...)
93#if defined(__GNUC__) && !defined(__CINT__)
94__attribute__((format(printf, 2, 3)))
97extern void Break(
const char *location,
const char *msgfmt, ...)
98#if defined(__GNUC__) && !defined(__CINT__)
99__attribute__((format(printf, 2, 3)))
102extern void SysError(
const char *location,
const char *msgfmt, ...)
103#if defined(__GNUC__) && !defined(__CINT__)
104__attribute__((format(printf, 2, 3)))
107extern void Fatal(
const char *location,
const char *msgfmt, ...)
108#if defined(__GNUC__) && !defined(__CINT__)
109__attribute__((format(printf, 2, 3)))
114extern void MayNotUse(
const char *method);
115extern void Obsolete(
const char *function,
const char *asOfVers,
const char *removedFromVers);
120#define R__ASSERT(e) \
122 if (!(e)) ::Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \
126 if (!(e)) ::Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \
#define R__DEPRECATED(MAJOR, MINOR, REASON)
TVirtualMutex * gErrorMutex
Error handling routines.
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...
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.
typedef void((*Func_t)())
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...