summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-03-18 19:31:18 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-03-18 19:31:18 (GMT)
commitff565cd175fa5c4c1563496572aa27b0e9484acd (patch)
treeeaec4c2eef8e14b0c4351cd5d7e65d1c65b6a067 /c++/test/h5cpputil.cpp
parent44fe3cc19b4e40672f1d7ab4fcd9cd58ded234e8 (diff)
downloadhdf5-ff565cd175fa5c4c1563496572aa27b0e9484acd.zip
hdf5-ff565cd175fa5c4c1563496572aa27b0e9484acd.tar.gz
hdf5-ff565cd175fa5c4c1563496572aa27b0e9484acd.tar.bz2
[svn-r24830] Purpose: HDFFV-8623
Description: Applied patch from user Jason Newton. JIRA issue HDFFV-8623, patch 9, improve c++ compatibility with exceptions. All additions of "throw()" are included. Exception::what() is not added because it is not necessary. It was suggested for the name, which follows stdlib. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
Diffstat (limited to 'c++/test/h5cpputil.cpp')
-rw-r--r--c++/test/h5cpputil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp
index cd85b6e..40e81cc 100644
--- a/c++/test/h5cpputil.cpp
+++ b/c++/test/h5cpputil.cpp
@@ -220,7 +220,7 @@ InvalidActionException::InvalidActionException(const H5std_string func_name, con
//--------------------------------------------------------------------------
// Function: InvalidActionException destructor
//--------------------------------------------------------------------------
-InvalidActionException::~InvalidActionException() {}
+InvalidActionException::~InvalidActionException() throw() {}
//--------------------------------------------------------------------------
// Function: TestFailedException default constructor
@@ -242,5 +242,5 @@ TestFailedException::TestFailedException(const H5std_string func_name, const H5s
//--------------------------------------------------------------------------
// Function: TestFailedException destructor
//--------------------------------------------------------------------------
-TestFailedException::~TestFailedException() {}
+TestFailedException::~TestFailedException() throw() {}