#include <stdarg.h>#include "Rtypes.h"Go to the source code of this file.
Defines | |
| #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 | ErrorHandler (int level, const char *location, const char *fmt, va_list va) |
| void | DefaultErrorHandler (int level, Bool_t abort, const char *location, const char *msg) |
| ErrorHandlerFunc_t | SetErrorHandler (ErrorHandlerFunc_t newhandler) |
| ErrorHandlerFunc_t | GetErrorHandler () |
| void | Info (const char *location, const char *msgfmt,...) |
| void | Warning (const char *location, const char *msgfmt,...) |
| void | Error (const char *location, const char *msgfmt,...) |
| void | Break (const char *location, const char *msgfmt,...) |
| void | SysError (const char *location, const char *msgfmt,...) |
| void | Fatal (const char *location, const char *msgfmt,...) |
| void | AbstractMethod (const char *method) |
| void | MayNotUse (const char *method) |
Variables | |
| const Int_t | kUnset = -1 |
| const Int_t | kPrint = 0 |
| const Int_t | kInfo = 1000 |
| const Int_t | kWarning = 2000 |
| const Int_t | kError = 3000 |
| const Int_t | kBreak = 4000 |
| const Int_t | kSysError = 5000 |
| const Int_t | kFatal = 6000 |
| R__EXTERN TVirtualMutex * | gErrorMutex |
| R__EXTERN const char * | kAssertMsg |
| R__EXTERN const char * | kCheckMsg |
| R__EXTERN Int_t | gErrorIgnoreLevel |
| R__EXTERN Int_t | gErrorAbortLevel |
| R__EXTERN Bool_t | gPrintViaErrorHandler |
| #define R__ASSERT | ( | e | ) |
Value:
do { \ if (!(e)) ::Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \ } while (0)
| #define R__CHECK | ( | e | ) |
| typedef void(*) ErrorHandlerFunc_t(int level, Bool_t abort, const char *location, const char *msg) |
| void AbstractMethod | ( | const char * | method | ) |
| void Break | ( | const char * | location, | |
| const char * | msgfmt, | |||
| ... | ||||
| ) |
| void DefaultErrorHandler | ( | int | level, | |
| Bool_t | abort, | |||
| const char * | location, | |||
| const char * | msg | |||
| ) |
Definition at line 119 of file TError.cxx.
References TSystem::Abort(), TString::CompareTo(), TString::Data(), DebugPrint(), fflush(), TString::Form(), gEnv, gErrorIgnoreLevel, gErrorMutex, TEnv::GetValue(), gSystem, kBreak, kError, kFatal, TString::kIgnoreCase, kInfo, kPrint, kSysError, kUnset, kWarning, R__LOCKGUARD2, TSystem::StackTrace(), StrDup(), and type.
| void Error | ( | const char * | location, | |
| const char * | msgfmt, | |||
| ... | ||||
| ) |
| void ErrorHandler | ( | int | level, | |
| const char * | location, | |||
| const char * | fmt, | |||
| va_list | va | |||
| ) |
Definition at line 196 of file TError.cxx.
References buf, Form(), gErrorAbortLevel, gErrorHandler, gErrorMutex, TSystem::GetError(), gSystem, kFatal, kSysError, kTRUE, n, R__LOCKGUARD2, and R__VA_COPY.
| void Fatal | ( | const char * | location, | |
| const char * | msgfmt, | |||
| ... | ||||
| ) |
| ErrorHandlerFunc_t GetErrorHandler | ( | ) |
| void Info | ( | const char * | location, | |
| const char * | msgfmt, | |||
| ... | ||||
| ) |
| void MayNotUse | ( | const char * | method | ) |
| ErrorHandlerFunc_t SetErrorHandler | ( | ErrorHandlerFunc_t | newhandler | ) |
| void SysError | ( | const char * | location, | |
| const char * | msgfmt, | |||
| ... | ||||
| ) |
| void Warning | ( | const char * | location, | |
| const char * | msgfmt, | |||
| ... | ||||
| ) |
| R__EXTERN Int_t gErrorAbortLevel |
| R__EXTERN Int_t gErrorIgnoreLevel |
| R__EXTERN TVirtualMutex* gErrorMutex |
| R__EXTERN Bool_t gPrintViaErrorHandler |
| R__EXTERN const char* kAssertMsg |
1.5.1