15 #ifndef __H5Exception_H
16 #define __H5Exception_H
22 #define H5std_string ::string
24 #define H5std_string std::string
36 Exception(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
40 H5std_string getMajorString(hid_t err_major_id)
const;
44 H5std_string getMinorString(hid_t err_minor_id)
const;
47 H5std_string getDetailMsg()
const;
48 const char* getCDetailMsg()
const;
49 H5std_string getFuncName()
const;
50 const char* getCFuncName()
const;
53 static void setAutoPrint(H5E_auto2_t& func,
void* client_data);
56 static void dontPrint();
60 static void getAutoPrint(H5E_auto2_t& func,
void** client_data);
63 static void clearErrorStack();
67 static void walkErrorStack(H5E_direction_t direction,
68 H5E_walk2_t func,
void* client_data);
71 static void printErrorStack(FILE* stream = stderr,
72 hid_t err_stack = H5E_DEFAULT);
88 static const char DEFAULT_MSG[];
91 H5std_string detail_message;
92 H5std_string func_name;
97 FileIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
104 GroupIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
111 DataSpaceIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
118 DataTypeIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
125 ObjHeaderIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
132 PropListIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
139 DataSetIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
146 AttributeIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
153 ReferenceException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
160 LibraryIException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
167 LocationException(
const H5std_string& func_name,
const H5std_string& message = DEFAULT_MSG);
181 #endif // __H5Exception_H
Definition: H5Exception.h:116
Definition: H5Exception.h:137
Definition: H5Exception.h:109
Definition: H5Exception.h:102
Definition: H5Exception.h:144
Exception provides wrappers of HDF5 error handling functions.
Definition: H5Exception.h:32
Definition: H5Exception.h:130
Definition: H5Exception.h:95
Definition: H5Exception.h:151
Definition: H5Exception.h:165
Definition: H5Exception.h:172
Definition: H5Exception.h:158