diff options
Diffstat (limited to 'c++/examples/h5tutr_crtatt.cpp')
-rw-r--r-- | c++/examples/h5tutr_crtatt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/examples/h5tutr_crtatt.cpp b/c++/examples/h5tutr_crtatt.cpp index db34353..f865501 100644 --- a/c++/examples/h5tutr_crtatt.cpp +++ b/c++/examples/h5tutr_crtatt.cpp @@ -59,28 +59,28 @@ int main (void) // catch failure caused by the H5File operations catch( DataSpaceIException error ) { - error.printError(); + error.printErrorStack(); return -1; } // catch failure caused by the H5File operations catch( AttributeIException error ) { - error.printError(); + error.printErrorStack(); return -1; } // 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; } |