diff options
Diffstat (limited to 'c++/src/H5Group.cpp')
-rw-r--r-- | c++/src/H5Group.cpp | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/c++/src/H5Group.cpp b/c++/src/H5Group.cpp index 00a69d6..dd2dd48 100644 --- a/c++/src/H5Group.cpp +++ b/c++/src/H5Group.cpp @@ -25,6 +25,8 @@ #include "H5OcreatProp.h" #include "H5DcreatProp.h" #include "H5LaccProp.h" +#include "H5StrcreatProp.h" +#include "H5LcreatProp.h" #include "H5Location.h" #include "H5Object.h" #include "H5AbstractDs.h" @@ -163,7 +165,7 @@ void Group::p_setId(const hid_t new_id) ///\brief Closes this group. /// ///\exception H5::GroupIException -// Programmer Binh-Minh Ribler - Mar 9, 2005 +// March 2005 //-------------------------------------------------------------------------- void Group::close() { @@ -185,19 +187,11 @@ void Group::close() ///\param func_name - Name of the function where failure occurs ///\param msg - Message describing the failure ///\exception H5::GroupIException -// Description -// This function is used in CommonFG implementation so that -// proper exception can be thrown for file or group. The -// argument func_name is a member of CommonFG and "Group::" -// will be inserted to indicate the function called is an -// implementation of Group. -// Programmer Binh-Minh Ribler - 2000 +// December 2000 //-------------------------------------------------------------------------- void Group::throwException(const H5std_string& func_name, const H5std_string& msg) const { - H5std_string full_name = func_name; - full_name.insert(0, "Group::"); - throw GroupIException(full_name, msg); + throw GroupIException(inMemFunc(func_name.c_str()), msg); } //-------------------------------------------------------------------------- |