49 extern "C" void ErrorHandler(
int level,
const char *location,
const char *fmt,
58 extern void Info(
const char *location,
const char *msgfmt, ...)
59 #if defined(__GNUC__) && !defined(__CINT__) 60 __attribute__((format(printf, 2, 3)))
63 extern void Warning(
const char *location,
const char *msgfmt, ...)
64 #if defined(__GNUC__) && !defined(__CINT__) 65 __attribute__((format(printf, 2, 3)))
68 extern void Error(
const char *location,
const char *msgfmt, ...)
69 #if defined(__GNUC__) && !defined(__CINT__) 70 __attribute__((format(printf, 2, 3)))
73 extern void Break(
const char *location,
const char *msgfmt, ...)
74 #if defined(__GNUC__) && !defined(__CINT__) 75 __attribute__((format(printf, 2, 3)))
78 extern void SysError(
const char *location,
const char *msgfmt, ...)
79 #if defined(__GNUC__) && !defined(__CINT__) 80 __attribute__((format(printf, 2, 3)))
83 extern void Fatal(
const char *location,
const char *msgfmt, ...)
84 #if defined(__GNUC__) && !defined(__CINT__) 85 __attribute__((format(printf, 2, 3)))
90 extern void MayNotUse(
const char *method);
91 extern void Obsolete(
const char *
function,
const char *asOfVers,
const char *removedFromVers);
96 #define R__ASSERT(e) \ 98 if (!(e)) ::Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \ 100 #define R__CHECK(e) \ 102 if (!(e)) ::Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \ ErrorHandlerFunc_t SetErrorHandler(ErrorHandlerFunc_t newhandler)
Set an errorhandler function. Returns the old handler.
R__EXTERN Int_t gErrorIgnoreLevel
R__EXTERN TVirtualMutex * gErrorMutex
void Fatal(const char *location, const char *msgfmt,...)
void DefaultErrorHandler(int level, Bool_t abort, const char *location, const char *msg)
The default error handler function.
R__EXTERN const char * kAssertMsg
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...
This class implements a mutex interface.
R__EXTERN Int_t gErrorAbortLevel
void Break(const char *location, const char *msgfmt,...)
void Obsolete(const char *function, const char *asOfVers, const char *removedFromVers)
Use this function to declare a function obsolete.
void SysError(const char *location, const char *msgfmt,...)
void Info(const char *location, const char *msgfmt,...)
void Error(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 const char * kCheckMsg
R__EXTERN Bool_t gPrintViaErrorHandler
void Warning(const char *location, const char *msgfmt,...)
void(* ErrorHandlerFunc_t)(int level, Bool_t abort, const char *location, const char *msg)
typedef void((*Func_t)())
ErrorHandlerFunc_t GetErrorHandler()
Returns the current error handler function.
void ErrorHandler(int level, const char *location, const char *fmt, va_list va)
General error handler function. It calls the user set error handler.