9 #ifndef H5EXCEPTION_HPP
10 #define H5EXCEPTION_HPP
16 #include <H5Ipublic.h>
35 inline const char*
what()
const throw()
override {
return _errmsg.c_str(); }
66 std::shared_ptr<Exception>
_next;
Exception specific to HighFive Attribute interface.
Definition: H5Exception.hpp:107
AttributeException(const std::string &err_msg)
Definition: H5Exception.hpp:109
Exception specific to HighFive DataSet interface.
Definition: H5Exception.hpp:115
DataSetException(const std::string &err_msg)
Definition: H5Exception.hpp:117
Exception specific to HighFive DataSpace interface.
Definition: H5Exception.hpp:99
DataSpaceException(const std::string &err_msg)
Definition: H5Exception.hpp:101
Exception specific to HighFive DataType interface.
Definition: H5Exception.hpp:83
DataTypeException(const std::string &err_msg)
Definition: H5Exception.hpp:85
Basic HighFive Exception class.
Definition: H5Exception.hpp:24
std::shared_ptr< Exception > _next
Definition: H5Exception.hpp:66
virtual ~Exception()
Definition: H5Exception.hpp:29
virtual void setErrorMsg(const std::string &errmsg)
define the error message
Definition: H5Exception.hpp:41
hid_t _err_major
Definition: H5Exception.hpp:67
const char * what() const override
get the current exception error message
Definition: H5Exception.hpp:35
hid_t getErrMajor() const
HDF5 library error mapper.
Definition: H5Exception.hpp:56
std::string _errmsg
Definition: H5Exception.hpp:65
Exception * nextException() const
nextException
Definition: H5Exception.hpp:50
hid_t getErrMinor() const
HDF5 library error mapper.
Definition: H5Exception.hpp:62
hid_t _err_minor
Definition: H5Exception.hpp:67
Exception(const std::string &err_msg)
Definition: H5Exception.hpp:26
Exception specific to HighFive File interface.
Definition: H5Exception.hpp:91
FileException(const std::string &err_msg)
Definition: H5Exception.hpp:93
Exception specific to HighFive Group interface.
Definition: H5Exception.hpp:123
GroupException(const std::string &err_msg)
Definition: H5Exception.hpp:125
Exception specific to HighFive Object interface.
Definition: H5Exception.hpp:75
ObjectException(const std::string &err_msg)
Definition: H5Exception.hpp:77
Exception specific to HighFive Property interface.
Definition: H5Exception.hpp:131
PropertyException(const std::string &err_msg)
Definition: H5Exception.hpp:133
Exception specific to HighFive Reference interface.
Definition: H5Exception.hpp:139
ReferenceException(const std::string &err_msg)
Definition: H5Exception.hpp:141
Definition: H5_definitions.hpp:15
Definition: H5Exception_misc.hpp:19