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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user