Commit 60dfb6fc authored by Laurent Claustre's avatar Laurent Claustre

Merge branch...

Merge branch '46-h5-exception-member-function-printerror-is-deprecated-in-1-8-20-and-1-10-2' into 'master'

Resolve "H5::Exception member function printError() is deprecated in 1.8.20 and 1.10.2"

Closes #46

See merge request !67
parents 4ecf94de 88824dbf
Pipeline #3340 passed with stages
in 2 minutes and 12 seconds
......@@ -452,7 +452,7 @@ void* SaveContainerHdf5::_open(const std::string &filename, std::ios_base::openm
new_file.m_instrument_detector = new Group(instrument.openGroup(m_ct_parameters.det_name));
}
} catch (FileIException &error) {
error.printError();
error.printErrorStack();
THROW_CTL_ERROR(Error) << "File " << filename << " not opened successfully";
}
......@@ -667,7 +667,7 @@ long SaveContainerHdf5::_writeFile(void* f,Data &aData,
// catch failure caused by the DataSet operations
}catch (DataSetIException& error) {
THROW_CTL_ERROR(Error) << "DataSet not created successfully " << error.getCDetailMsg();
error.printError();
error.printErrorStack();
}
// catch failure caused by the DataSpace operations
catch (DataSpaceIException& error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment