[ROOT] TError

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Tue Jan 13 2004 - 11:23:27 MET


Hi,

I found something strange in the dox of ErrorHandler. It says:
-------------------------------------------------------------------------
void ErrorHandler(int level, const char *location, const char *fmt, 
va_list ap)
{
    // General error handler function. It calls the user set error handler
    // unless the error is of type kFatal, in which case the
    // DefaultErrorHandler() is called which will abort the application.
-------------------------------------------------------------------------

but this is not what it does:
-------------------------------------------------------------------------
    if (level != kFatal)
       gErrorHandler(level, level >= gErrorAbortLevel, location, bp);
    else
       gErrorHandler(level, kTRUE, location, bp);
-------------------------------------------------------------------------

Best regards,
Thomas.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET