src/experiments/obrero/visualTracker/error.cc
void real_fail_null( const void *eval, const char *eval_str, const char *func, const char *file, int line )
{
	if ( eval == NULL )
	{

		string exc;
		ostringstream sb;

		sb << file << ":" << line << ": In function \"" << func << "\": " << eval_str << " is NULL" << ends;
		exc = sb.str();
		throw exc;
	}
}
/** error handler for NULL result codes
 
    Whenever this is called with a NULL argument, it will throw an
    exception. Typically used with functions like malloc() and new().
 
*/
error handler for NULL result codes
Whenever this is called with a NULL argument, it will throw an
exception. Typically used with functions like malloc() and new().
error handler for NULL result codes Whenever this is called with a NULL argument it will throw an exception . Typically used with functions like malloc () and new () .
void real_fail_null( const void *eval, const char *eval_str, const char *func, const char *file, int line )
{
	if ( eval == NULL )
	{
		string exc;
		ostringstream sb;
		sb << file << ":" << line << ": In function \"" << func << "\": " << eval_str << " is NULL" << ends;
		exc = sb.str();
		throw exc;
	}
}
void real_fail_null ( const void * eval , const char * eval_str , const char * func , const char * file , int line ) { if ( eval == NULL ) { string exc ; ostringstream sb ; sb << file << " " << line << " \" " << func << " \" " << eval_str << " " << ends ; exc = sb . str ( ) ; throw exc ; } }
error handler for NULL result codes
Whenever this is called with a NULL argument, it will throw an
exception.
error handler for NULL result codes Whenever this is called with a NULL argument it will throw an exception .