49extern "C" void ErrorHandler(
int level,
const char *location,
const char *fmt,
58extern void Info(
const char *location,
const char *msgfmt, ...)
59#if defined(__GNUC__) && !defined(__CINT__)
60__attribute__((format(printf, 2, 3)))
63extern void Warning(
const char *location,
const char *msgfmt, ...)
64#if defined(__GNUC__) && !defined(__CINT__)
65__attribute__((format(printf, 2, 3)))
68extern void Error(
const char *location,
const char *msgfmt, ...)
69#if defined(__GNUC__) && !defined(__CINT__)
70__attribute__((format(printf, 2, 3)))
73extern void Break(
const char *location,
const char *msgfmt, ...)
74#if defined(__GNUC__) && !defined(__CINT__)
75__attribute__((format(printf, 2, 3)))
78extern void SysError(
const char *location,
const char *msgfmt, ...)
79#if defined(__GNUC__) && !defined(__CINT__)
80__attribute__((format(printf, 2, 3)))
83extern void Fatal(
const char *location,
const char *msgfmt, ...)
84#if defined(__GNUC__) && !defined(__CINT__)
85__attribute__((format(printf, 2, 3)))
91extern void Obsolete(
const char *
function,
const char *asOfVers,
const char *removedFromVers);
98 if (!(e)) ::Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \
102 if (!(e)) ::Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \
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
ErrorHandlerFunc_t GetErrorHandler()
Returns the current error handler function.
void Info(const char *location, const char *msgfmt,...)
void ErrorHandler(int level, const char *location, const char *fmt, va_list va)
General error handler function. It calls the user set error handler.
void Error(const char *location, const char *msgfmt,...)
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,...)
void(* ErrorHandlerFunc_t)(int level, Bool_t abort, const char *location, const char *msg)
void Break(const char *location, const char *msgfmt,...)
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 TVirtualMutex * gErrorMutex
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,...)
ErrorHandlerFunc_t SetErrorHandler(ErrorHandlerFunc_t newhandler)
Set an errorhandler function. Returns the old handler.
void Fatal(const char *location, const char *msgfmt,...)
typedef void((*Func_t)())
This class implements a mutex interface.
void function(const Char_t *name_, T fun, const Char_t *docstring=0)