summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2017-12-05 05:05:47 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2017-12-05 05:05:47 (GMT)
commit853ae26333592faf69cd8c454ef92ffea8549df5 (patch)
treef733ce2364a90fd377755d5fa2c236c6716c62dd /c++/src/H5DataType.cpp
parent930a0b5d7c6933e0d216a016cfd29f2255e12433 (diff)
parent17d148434fff055a2e22c6ac715c7ecff536a5c3 (diff)
downloadhdf5-853ae26333592faf69cd8c454ef92ffea8549df5.zip
hdf5-853ae26333592faf69cd8c454ef92ffea8549df5.tar.gz
hdf5-853ae26333592faf69cd8c454ef92ffea8549df5.tar.bz2
Merge pull request #814 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Renamed H5Location::exists to H5Location::nameExists and misc. cleanup * commit '17d148434fff055a2e22c6ac715c7ecff536a5c3': Fixed typo. Various code cleanup Description: - Replaced H5Location::exists with H5Location::nameExists and marked H5Location::exists as deprecated. - Miscellaneous test cleanup for consistency. Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5DataType.cpp')
-rw-r--r--c++/src/H5DataType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5DataType.cpp b/c++/src/H5DataType.cpp
index d2bfbda..444a77a 100644
--- a/c++/src/H5DataType.cpp
+++ b/c++/src/H5DataType.cpp
@@ -899,7 +899,7 @@ hid_t DataType::p_opentype(const H5Location& loc, const char *dtype_name) const
// Call C function to open the named datatype at this location
hid_t ret_value = H5Topen2(loc.getId(), dtype_name, H5P_DEFAULT);
if (ret_value < 0)
- throw DataTypeIException("DataType constructor", "H5Topen2 failed");
+ throw DataTypeIException(inMemFunc("constructor"), "H5Topen2 failed");
return(ret_value);
}