diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-25 19:47:57 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-04-25 19:47:57 (GMT) |
commit | 97525f97f2db83b22193cac7c4641135cf6eebf4 (patch) | |
tree | 194fcf15a51b1ec0c4d6da1306877f0d515f6c29 /c++/src/H5Exception.h | |
parent | 01de7491b24bbd164865f0b1c9fa636c312ff570 (diff) | |
download | hdf5-97525f97f2db83b22193cac7c4641135cf6eebf4.zip hdf5-97525f97f2db83b22193cac7c4641135cf6eebf4.tar.gz hdf5-97525f97f2db83b22193cac7c4641135cf6eebf4.tar.bz2 |
[svn-r25108] 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++/src/H5Exception.h')
-rw-r--r-- | c++/src/H5Exception.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h index 267c84b..ce35fde 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(); |