diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-30 12:42:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-30 12:42:55 (GMT) |
commit | 685821526f607d095a4bd609d71ca2b7b9ce161f (patch) | |
tree | a9b151a7cd646025e455d5718ca0f73c6856f5ac | |
parent | be18b5da13bbaff17ab2ceff6908251e5d65a91f (diff) | |
download | hdf5-685821526f607d095a4bd609d71ca2b7b9ce161f.zip hdf5-685821526f607d095a4bd609d71ca2b7b9ce161f.tar.gz hdf5-685821526f607d095a4bd609d71ca2b7b9ce161f.tar.bz2 |
[svn-r5487] Purpose:
Bug fix
Description:
H5Ewalk_cb was being called from a C++ API, when it really is an
internal routine to the H5E interface.
Solution:
Removed C++ API wrapper for it.
Platforms tested:
FreeBSD 4.5 (sleipnir)
-rw-r--r-- | c++/src/H5Exception.cpp | 10 | ||||
-rw-r--r-- | c++/src/H5Exception.h | 5 |
2 files changed, 0 insertions, 15 deletions
diff --git a/c++/src/H5Exception.cpp b/c++/src/H5Exception.cpp index 045be68..dc4c85f 100644 --- a/c++/src/H5Exception.cpp +++ b/c++/src/H5Exception.cpp @@ -115,16 +115,6 @@ void Exception::walkErrorStack( H5E_direction_t direction, H5E_walk_t func, void throw Exception( "Exception::walkErrorStack", "H5Ewalk failed" ); } -// Default error stack traversal callback function that prints error -// messages to the specified output stream. -void Exception::walkDefErrorStack( int n, H5E_error_t& err_desc, void* client_data ) -{ - // calls the C API routine H5Ewalk_cb to walk the error stack - herr_t ret_value = H5Ewalk_cb( n, &err_desc, client_data ); - if( ret_value < 0 ) - throw Exception( "Exception::walkDefErrorStack", "H5Ewalk_cb failed" ); -} - // Returns the detailed message set at the time the exception is thrown string Exception::getDetailMsg() const { diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h index 7b69e79..a5e0f91 100644 --- a/c++/src/H5Exception.h +++ b/c++/src/H5Exception.h @@ -53,11 +53,6 @@ class __DLLCPP__ Exception { static void walkErrorStack( H5E_direction_t direction, H5E_walk_t func, void* client_data); - // Default error stack traversal callback function that prints - // error messages to the specified output stream. - static void walkDefErrorStack( int n, H5E_error_t& err_desc, - void* client_data); - // Prints the error stack in a default manner. virtual void printError( FILE* stream = NULL ) const; |