Fixed incorrect calls

Description:
    Replaced the calls to the deprecated function printError with
    printErrorStack in examples.
Platforms tested:
    Linux/32 2.6 (jam)
This commit is contained in:
Binh-Minh Ribler
2017-09-14 14:33:40 -05:00
parent a6151aa4f2
commit 5cf381597d
16 changed files with 52 additions and 52 deletions

View File

@@ -182,28 +182,28 @@ int main (void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printError();
error.printErrorStack();
return -1;
}