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) |
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. More... | |
void | Break (const char *location, const char *msgfmt,...) |
void | DefaultErrorHandler (int level, Bool_t abort, const char *location, const char *msg) |
The default error handler function. More... | |
void | Error (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. More... | |
void | Fatal (const char *location, const char *msgfmt,...) |
ErrorHandlerFunc_t | GetErrorHandler () |
Returns the current error handler function. More... | |
void | Info (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 class the function makes no sense. More... | |
void | Obsolete (const char *function, const char *asOfVers, const char *removedFromVers) |
Use this function to declare a function obsolete. More... | |
ErrorHandlerFunc_t | SetErrorHandler (ErrorHandlerFunc_t newhandler) |
Set an errorhandler function. Returns the old handler. More... | |
void | SysError (const char *location, const char *msgfmt,...) |
void | Warning (const char *location, const char *msgfmt,...) |
Variables | |
R__EXTERN Int_t | gErrorAbortLevel |
R__EXTERN Int_t | gErrorIgnoreLevel |
R__EXTERN TVirtualMutex * | gErrorMutex |
R__EXTERN Bool_t | gPrintViaErrorHandler |
R__EXTERN const char * | kAssertMsg |
const Int_t | kBreak = 4000 |
R__EXTERN const char * | kCheckMsg |
const Int_t | kError = 3000 |
const Int_t | kFatal = 6000 |
const Int_t | kInfo = 1000 |
const Int_t | kPrint = 0 |
const Int_t | kSysError = 5000 |
const Int_t | kUnset = -1 |
const 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 260 of file TError.cxx.
void Break | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
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.
Definition at line 125 of file TError.cxx.
void Error | ( | 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.
Definition at line 202 of file TError.cxx.
void Fatal | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
ErrorHandlerFunc_t GetErrorHandler | ( | ) |
Returns the current error handler function.
Definition at line 116 of file TError.cxx.
void Info | ( | 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 class the function makes no sense.
Definition at line 269 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 278 of file TError.cxx.
ErrorHandlerFunc_t SetErrorHandler | ( | ErrorHandlerFunc_t | newhandler | ) |
Set an errorhandler function. Returns the old handler.
Definition at line 106 of file TError.cxx.
void SysError | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
void Warning | ( | const char * | location, |
const char * | msgfmt, | ||
... | |||
) |
R__EXTERN TVirtualMutex* gErrorMutex |