| 362 |
|
_isotopes.push_back(row); |
| 363 |
|
} |
| 364 |
|
else |
| 365 |
< |
obErrorLog.ThrowError(__FUNCTION__, " Could not parse line in isotope table isotope.txt", obInfo); |
| 365 |
> |
obErrorLog.ThrowError(__func__, " Could not parse line in isotope table isotope.txt", obInfo); |
| 366 |
|
} |
| 367 |
|
} |
| 368 |
|
|
| 464 |
|
stringstream errorMsg; |
| 465 |
|
errorMsg << " Could not parse line in type translation table types.txt -- incorect number of columns"; |
| 466 |
|
errorMsg << " found " << vc.size() << " expected " << _ncols << "."; |
| 467 |
< |
obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obInfo); |
| 467 |
> |
obErrorLog.ThrowError(__func__, errorMsg.str(), obInfo); |
| 468 |
|
} |
| 469 |
|
} |
| 470 |
|
_linecount++; |
| 485 |
|
return(true); |
| 486 |
|
} |
| 487 |
|
|
| 488 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Requested type column not found", obInfo); |
| 488 |
> |
obErrorLog.ThrowError(__func__, "Requested type column not found", obInfo); |
| 489 |
|
|
| 490 |
|
return(false); |
| 491 |
|
} |
| 505 |
|
return(true); |
| 506 |
|
} |
| 507 |
|
|
| 508 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Requested type column not found", obInfo); |
| 508 |
> |
obErrorLog.ThrowError(__func__, "Requested type column not found", obInfo); |
| 509 |
|
|
| 510 |
|
return(false); |
| 511 |
|
} |
| 545 |
|
} |
| 546 |
|
|
| 547 |
|
// Throw an error, copy the string and return false |
| 548 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Cannot perform atom type translation: table cannot find requested types.", obWarning); |
| 548 |
> |
obErrorLog.ThrowError(__func__, "Cannot perform atom type translation: table cannot find requested types.", obWarning); |
| 549 |
|
to = from; |
| 550 |
|
return(false); |
| 551 |
|
} |
| 878 |
|
string s = "Unable to open data file '"; |
| 879 |
|
s += _filename; |
| 880 |
|
s += "'"; |
| 881 |
< |
obErrorLog.ThrowError(__FUNCTION__, s, obWarning); |
| 881 |
> |
obErrorLog.ThrowError(__func__, s, obWarning); |
| 882 |
|
} |
| 883 |
|
|
| 884 |
|
if (ifs1) |
| 895 |
|
string s = "Cannot initialize database '"; |
| 896 |
|
s += _filename; |
| 897 |
|
s += "' which may cause further errors."; |
| 898 |
< |
obErrorLog.ThrowError(__FUNCTION__, "Cannot initialize database", obWarning); |
| 898 |
> |
obErrorLog.ThrowError(__func__, "Cannot initialize database", obWarning); |
| 899 |
|
} |
| 900 |
|
|
| 901 |
|
} |