summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DcreatProp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5DcreatProp.cpp')
-rw-r--r--c++/src/H5DcreatProp.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp
index e09c22e..52de150 100644
--- a/c++/src/H5DcreatProp.cpp
+++ b/c++/src/H5DcreatProp.cpp
@@ -362,13 +362,11 @@ H5Z_filter_t DSetCreatPropList::getFilter(int filter_number,
size_t namelen, char name[], unsigned int& filter_config) const
{
H5Z_filter_t filter_id;
- filter_id = H5Pget_filter( id, filter_number, &flags, &cd_nelmts,
+ filter_id = H5Pget_filter2(id, filter_number, &flags, &cd_nelmts,
cd_values, namelen, name, &filter_config);
if( filter_id == H5Z_FILTER_ERROR )
- {
throw PropListIException("DSetCreatPropList::getFilter",
- "H5Pget_filter returned H5Z_FILTER_ERROR");
- }
+ "H5Pget_filter2 returned H5Z_FILTER_ERROR");
else
return(filter_id);
}