summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5Attribute.cpp2
-rw-r--r--c++/src/H5DataSet.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp
index 7d0c3fd..f97c29f 100644
--- a/c++/src/H5Attribute.cpp
+++ b/c++/src/H5Attribute.cpp
@@ -178,7 +178,7 @@ hid_t Attribute::p_get_type() const
return( type_id );
else
{
- throw AttributeIException(0, "H5Aget_type failed");
+ throw AttributeIException("", "H5Aget_type failed");
}
}
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp
index 1e8af3c..4cb84e9 100644
--- a/c++/src/H5DataSet.cpp
+++ b/c++/src/H5DataSet.cpp
@@ -92,7 +92,7 @@ hid_t DataSet::p_get_type() const
return( type_id );
else
{
- throw DataSetIException(0, "H5Dget_type failed");
+ throw DataSetIException("", "H5Dget_type failed");
}
}