summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-25 21:54:00 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-04-25 21:54:00 (GMT)
commit67641211a89b7244bc5e1d76438509b49ceac9dc (patch)
tree14157bdf58cb639dedf922314f0c47bfb63f1674 /c++
parentc5815755cc96f5ba07221a14496d8ef69fbb6e9d (diff)
downloadhdf5-67641211a89b7244bc5e1d76438509b49ceac9dc.zip
hdf5-67641211a89b7244bc5e1d76438509b49ceac9dc.tar.gz
hdf5-67641211a89b7244bc5e1d76438509b49ceac9dc.tar.bz2
[svn-r25115] Description:
- Put back Exception::printError for backward compatibility - Added static member function Exception::printErrorStack to print error stack without an instance of Exception. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5Exception.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index 9671d32..f16a069 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -72,7 +72,9 @@ class H5_DLLCPP Exception {
H5E_walk2_t func, void* client_data);
// Prints the error stack in a default manner.
- static void printError( FILE* stream = NULL );
+ static void printErrorStack(FILE* stream = stderr,
+ hid_t err_stack = H5E_DEFAULT); // Static
+ void printError(FILE* stream = NULL) const;
// Default constructor
Exception();