44#include "config_hdf.h"
54using std::ostringstream;
61hcerr::hcerr(
const char *msg,
const char *file,
int line)
65 strm << get_error_message() << endl
66 <<
"Location: \"" << file <<
"\", line " << line << endl;
67 for (
int i = 0; i < 5; ++i)
68 strm << i <<
") " << HEstring((hdf_err_code_t) HEvalue(i)) << endl;
69 (*BESLog::TheLog()) << strm.str() << endl ;