summaryrefslogtreecommitdiffstats
path: root/c++/src
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-05-28 17:26:00 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-05-28 17:26:00 (GMT)
commit0d580697f6856de2bd0a1c394890afcbbde16d0b (patch)
tree978d7bf7f4fa522bf81b5165a9af34bc8483e0dd /c++/src
parentaed9bf19db86cf7117cec39bbdb20ddf6eb981c6 (diff)
downloadhdf5-0d580697f6856de2bd0a1c394890afcbbde16d0b.zip
hdf5-0d580697f6856de2bd0a1c394890afcbbde16d0b.tar.gz
hdf5-0d580697f6856de2bd0a1c394890afcbbde16d0b.tar.bz2
[svn-r10816] Purpose: Fix bug (reported by user, not filed)
Description: Passing 0 where it should be "". Fixed! Platforms tested: Linux 2.4 (heping) - very minor, and has been in 1.6 for a while
Diffstat (limited to 'c++/src')
-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");
}
}