From 0d580697f6856de2bd0a1c394890afcbbde16d0b Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Sat, 28 May 2005 12:26:00 -0500 Subject: [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 --- c++/src/H5Attribute.cpp | 2 +- c++/src/H5DataSet.cpp | 2 +- 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"); } } -- cgit v0.12