42#include "config_hdf.h"
48using std::ostringstream;
53dhdferr::dhdferr(
const string & msg,
const string & file,
int line)
57 strm << get_error_message() << endl
58 <<
"Location: \"" << file <<
"\", line " << line;
59 ERROR_LOG(strm.str() );
62dhdferr_hcerr::dhdferr_hcerr(
const string & msg,
const string & file,
int line)
66 strm << get_error_message() << endl
67 <<
"Location: \"" << file <<
"\", line " << line;
68 for (
int i = 0; i < 5; ++i)
69 strm << i <<
") " << HEstring((hdf_err_code_t) HEvalue(i)) << endl;
70 ERROR_LOG(strm.str());