summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c++/src/H5Exception.cpp10
-rw-r--r--c++/src/H5Exception.h5
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;