diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-09-15 03:35:59 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-09-15 03:35:59 (GMT) |
commit | 796711d27bbb889ff1f9252aef365720d485f4b9 (patch) | |
tree | 8ebefabe80872042b441cfb34e740e6c44f5a8ea | |
parent | a6151aa4f29fcb85047112f436fa21fde8f0da7b (diff) | |
parent | 5cf381597dddc2f551a344a102a4975ea0d373af (diff) | |
download | hdf5-796711d27bbb889ff1f9252aef365720d485f4b9.zip hdf5-796711d27bbb889ff1f9252aef365720d485f4b9.tar.gz hdf5-796711d27bbb889ff1f9252aef365720d485f4b9.tar.bz2 |
Merge pull request #672 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Fixed incorrect calls in examples causing daily test failure.
* commit '5cf381597dddc2f551a344a102a4975ea0d373af':
Fixed incorrect calls
-rw-r--r-- | c++/examples/chunks.cpp | 6 | ||||
-rw-r--r-- | c++/examples/compound.cpp | 8 | ||||
-rw-r--r-- | c++/examples/create.cpp | 8 | ||||
-rw-r--r-- | c++/examples/extend_ds.cpp | 8 | ||||
-rw-r--r-- | c++/examples/h5group.cpp | 8 | ||||
-rw-r--r-- | c++/examples/h5tutr_cmprss.cpp | 6 | ||||
-rw-r--r-- | c++/examples/h5tutr_crtatt.cpp | 8 | ||||
-rw-r--r-- | c++/examples/h5tutr_crtdat.cpp | 6 | ||||
-rw-r--r-- | c++/examples/h5tutr_crtgrp.cpp | 4 | ||||
-rw-r--r-- | c++/examples/h5tutr_crtgrpar.cpp | 4 | ||||
-rw-r--r-- | c++/examples/h5tutr_crtgrpd.cpp | 8 | ||||
-rw-r--r-- | c++/examples/h5tutr_extend.cpp | 6 | ||||
-rw-r--r-- | c++/examples/h5tutr_rdwt.cpp | 4 | ||||
-rw-r--r-- | c++/examples/h5tutr_subset.cpp | 6 | ||||
-rw-r--r-- | c++/examples/readdata.cpp | 8 | ||||
-rw-r--r-- | c++/examples/writedata.cpp | 6 |
16 files changed, 52 insertions, 52 deletions
diff --git a/c++/examples/chunks.cpp b/c++/examples/chunks.cpp index 836c86d..142e70f 100644 --- a/c++/examples/chunks.cpp +++ b/c++/examples/chunks.cpp @@ -209,21 +209,21 @@ 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; } return 0; diff --git a/c++/examples/compound.cpp b/c++/examples/compound.cpp index 2636d8e..192a1cf 100644 --- a/c++/examples/compound.cpp +++ b/c++/examples/compound.cpp @@ -174,28 +174,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; } diff --git a/c++/examples/create.cpp b/c++/examples/create.cpp index d4500f9..890fb03 100644 --- a/c++/examples/create.cpp +++ b/c++/examples/create.cpp @@ -99,28 +99,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; } diff --git a/c++/examples/extend_ds.cpp b/c++/examples/extend_ds.cpp index 0ecad1f..271100e 100644 --- a/c++/examples/extend_ds.cpp +++ b/c++/examples/extend_ds.cpp @@ -204,28 +204,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; } return 0; diff --git a/c++/examples/h5group.cpp b/c++/examples/h5group.cpp index 3e3ab4d..a8c9953 100644 --- a/c++/examples/h5group.cpp +++ b/c++/examples/h5group.cpp @@ -188,28 +188,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 Attribute operations catch( AttributeIException error ) { - error.printError(); + error.printErrorStack(); return -1; } return 0; diff --git a/c++/examples/h5tutr_cmprss.cpp b/c++/examples/h5tutr_cmprss.cpp index ee2c544..9b1d2bc 100644 --- a/c++/examples/h5tutr_cmprss.cpp +++ b/c++/examples/h5tutr_cmprss.cpp @@ -132,21 +132,21 @@ 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; } 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; } diff --git a/c++/examples/h5tutr_crtdat.cpp b/c++/examples/h5tutr_crtdat.cpp index e36a215..7cd49f8 100644 --- a/c++/examples/h5tutr_crtdat.cpp +++ b/c++/examples/h5tutr_crtdat.cpp @@ -53,21 +53,21 @@ 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; } diff --git a/c++/examples/h5tutr_crtgrp.cpp b/c++/examples/h5tutr_crtgrp.cpp index 5462cbf..4bdb02c 100644 --- a/c++/examples/h5tutr_crtgrp.cpp +++ b/c++/examples/h5tutr_crtgrp.cpp @@ -48,13 +48,13 @@ int main(void) // catch failure caused by the H5File operations catch(FileIException error) { - error.printError(); + error.printErrorStack(); return -1; } // catch failure caused by the Group operations catch(GroupIException error) { - error.printError(); + error.printErrorStack(); return -1; } diff --git a/c++/examples/h5tutr_crtgrpar.cpp b/c++/examples/h5tutr_crtgrpar.cpp index 93bd08d..3e175d6 100644 --- a/c++/examples/h5tutr_crtgrpar.cpp +++ b/c++/examples/h5tutr_crtgrpar.cpp @@ -68,14 +68,14 @@ int main(void) // catch failure caused by the File operations catch(FileIException error) { - error.printError(); + error.printErrorStack(); return -1; } // catch failure caused by the Group operations catch(GroupIException error) { - error.printError(); + error.printErrorStack(); return -1; } diff --git a/c++/examples/h5tutr_crtgrpd.cpp b/c++/examples/h5tutr_crtgrpd.cpp index 96805a7..318ab1c 100644 --- a/c++/examples/h5tutr_crtgrpd.cpp +++ b/c++/examples/h5tutr_crtgrpd.cpp @@ -106,27 +106,27 @@ 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 Group operations catch(GroupIException error) { - error.printError(); + error.printErrorStack(); return -1; } diff --git a/c++/examples/h5tutr_extend.cpp b/c++/examples/h5tutr_extend.cpp index 703068a..8c1bc03 100644 --- a/c++/examples/h5tutr_extend.cpp +++ b/c++/examples/h5tutr_extend.cpp @@ -147,21 +147,21 @@ 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; } diff --git a/c++/examples/h5tutr_rdwt.cpp b/c++/examples/h5tutr_rdwt.cpp index 5ab7ccc..4c9d49e 100644 --- a/c++/examples/h5tutr_rdwt.cpp +++ b/c++/examples/h5tutr_rdwt.cpp @@ -58,14 +58,14 @@ 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; } diff --git a/c++/examples/h5tutr_subset.cpp b/c++/examples/h5tutr_subset.cpp index 9ba2104..14a9ced 100644 --- a/c++/examples/h5tutr_subset.cpp +++ b/c++/examples/h5tutr_subset.cpp @@ -153,21 +153,21 @@ 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; } diff --git a/c++/examples/readdata.cpp b/c++/examples/readdata.cpp index fd88776..5a2f3bc 100644 --- a/c++/examples/readdata.cpp +++ b/c++/examples/readdata.cpp @@ -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; } diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp index e14e578..f5c06cf 100644 --- a/c++/examples/writedata.cpp +++ b/c++/examples/writedata.cpp @@ -306,21 +306,21 @@ 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; } |