Namespaces | |
namespace | ROOT |
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7 | |
namespace | ROOT::Internal |
Macros | |
#define | R__ASSERT(e) |
#define | R__CHECK(e) |
Typedefs | |
typedef void(* | ErrorHandlerFunc_t) (int level, Bool_t abort, const char *location, const char *msg) |
using | ROOT::Internal::ErrorSystemMsgHandlerFunc_t = std::function< const char *()> |
Retrieves the error string associated with the last system error. | |
Functions | |
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 "real" (in C++ sense) ABC. | |
void | Break (const char *location, const char *msgfmt,...) |
Use this function in case an error occurred. | |
void | DefaultErrorHandler (int level, Bool_t abort, const char *location, const char *msg) |
The default error handler function. | |
void | Error (const char *location, const char *msgfmt,...) |
Use this function in case an error occurred. | |
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. | |
void | Fatal (const char *location, const char *msgfmt,...) |
Use this function in case of a fatal error. It will abort the program. | |
ErrorHandlerFunc_t | GetErrorHandler () |
Returns the current error handler function. | |
ErrorSystemMsgHandlerFunc_t | ROOT::Internal::GetErrorSystemMsgHandler () |
void | Info (const char *location, const char *msgfmt,...) |
Use this function for informational messages. | |
void | MayNotUse (const char *method) |
This function can be used in classes that should override a certain function, but in the inherited class the function makes no sense. | |
void | ROOT::Internal::MinimalErrorHandler (Int_t level, Bool_t abort_bool, const char *location, const char *msg) |
A very simple error handler that is usually replaced by the TROOT default error handler. | |
void | Obsolete (const char *function, const char *asOfVers, const char *removedFromVers) |
Use this function to declare a function obsolete. | |
ErrorHandlerFunc_t | SetErrorHandler (ErrorHandlerFunc_t newhandler) |
Set an errorhandler function. Returns the old handler. | |
ErrorSystemMsgHandlerFunc_t | ROOT::Internal::SetErrorSystemMsgHandler (ErrorSystemMsgHandlerFunc_t h) |
Returns the previous system error message handler. | |
void | SysError (const char *location, const char *msgfmt,...) |
Use this function in case a system (OS or GUI) related error occurred. | |
void | Warning (const char *location, const char *msgfmt,...) |
Use this function in warning situations. | |
Variables | |
Int_t | gErrorAbortLevel |
Int_t | gErrorIgnoreLevel |
Error handling routines. | |
Bool_t | gPrintViaErrorHandler |
const char * | kAssertMsg |
constexpr Int_t | kBreak = 4000 |
const char * | kCheckMsg |
constexpr Int_t | kError = 3000 |
constexpr Int_t | kFatal = 6000 |
constexpr Int_t | kInfo = 1000 |
constexpr Int_t | kPrint = 0 |
constexpr Int_t | kSysError = 5000 |
constexpr Int_t | kUnset = -1 |
constexpr Int_t | kWarning = 2000 |
#define R__ASSERT | ( | e | ) |
#define R__CHECK | ( | e | ) |
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 "real" (in C++ sense) ABC.
If this function is called it will warn the user that the function should have been overridden.
Definition at line 159 of file TError.cxx.
void Break | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
Use this function in case an error occurred.
Definition at line 207 of file TError.cxx.
void DefaultErrorHandler | ( | Int_t | level, |
Bool_t | abort_bool, | ||
const char * | location, | ||
const char * | msg | ||
) |
The default error handler function.
It prints the message on stderr and if abort is set it aborts the application. Replaces the minimal error handler of TError.h as part of the gROOT construction. TError's minimal handler is put back in place during the gROOT destruction.
abort()
is only called if abort_bool
is true
and level < gErrorIgnoreLevel
Definition at line 102 of file TErrorDefaultHandler.cxx.
void Error | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
Use this function in case an error occurred.
Definition at line 185 of file TError.cxx.
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.
Definition at line 109 of file TError.cxx.
void Fatal | ( | const char * | location, |
const char * | fmt, | ||
... | |||
) |
Use this function in case of a fatal error. It will abort the program.
gErrorIgnoreLevel > kFatal
Definition at line 244 of file TError.cxx.
ErrorHandlerFunc_t GetErrorHandler | ( | ) |
Returns the current error handler function.
Definition at line 100 of file TError.cxx.
void Info | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
Use this function for informational messages.
Definition at line 218 of file TError.cxx.
void MayNotUse | ( | const char * | method | ) |
This function can be used in classes that should override a certain function, but in the inherited class the function makes no sense.
Definition at line 168 of file TError.cxx.
void Obsolete | ( | const char * | function, |
const char * | asOfVers, | ||
const char * | removedFromVers | ||
) |
Use this function to declare a function obsolete.
Specify as of which version the method is obsolete and as from which version it will be removed.
Definition at line 177 of file TError.cxx.
ErrorHandlerFunc_t SetErrorHandler | ( | ErrorHandlerFunc_t | newhandler | ) |
Set an errorhandler function. Returns the old handler.
Definition at line 90 of file TError.cxx.
void SysError | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
Use this function in case a system (OS or GUI) related error occurred.
Definition at line 196 of file TError.cxx.
void Warning | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
Use this function in warning situations.
Definition at line 229 of file TError.cxx.
|
extern |
Definition at line 32 of file TError.cxx.
|
extern |
Error handling routines.
This file defines a number of global error handling routines: Warning(), Error(), SysError() and Fatal(). They all take a location string (where the error happened) and a printf style format string plus vararg's. In the end these functions call an errorhandler function. Initially the MinimalErrorHandler, which is supposed to be replaced by the proper DefaultErrorHandler()
Definition at line 31 of file TError.cxx.
|
extern |
Definition at line 33 of file TError.cxx.
|
extern |
Definition at line 35 of file TError.cxx.
|
extern |
Definition at line 36 of file TError.cxx.