Public Member Functions | Protected Attributes | Friends | List of all members
HighFive::Exception Class Reference

Basic HighFive Exception class. More...

#include <H5Exception.hpp>

Inheritance diagram for HighFive::Exception:
Inheritance graph
[legend]

Public Member Functions

 Exception (const std::string &err_msg)
 
hid_t getErrMajor () const
 HDF5 library error mapper. More...
 
hid_t getErrMinor () const
 HDF5 library error mapper. More...
 
ExceptionnextException () const
 nextException More...
 
virtual void setErrorMsg (const std::string &errmsg)
 define the error message More...
 
const char * what () const override throw ()
 get the current exception error message More...
 
virtual ~Exception () throw ()
 

Protected Attributes

hid_t _err_major
 
hid_t _err_minor
 
std::string _errmsg
 
details::Mem::shared_ptr< Exception_next
 

Friends

struct HDF5ErrMapper
 

Detailed Description

Basic HighFive Exception class.

Definition at line 23 of file H5Exception.hpp.

Constructor & Destructor Documentation

◆ Exception()

HighFive::Exception::Exception ( const std::string &  err_msg)
inline

Definition at line 25 of file H5Exception.hpp.

◆ ~Exception()

virtual HighFive::Exception::~Exception ( )
throw (
)
inlinevirtual

Definition at line 28 of file H5Exception.hpp.

Member Function Documentation

◆ getErrMajor()

hid_t HighFive::Exception::getErrMajor ( ) const
inline

HDF5 library error mapper.

Returns
HDF5 major error number

Definition at line 55 of file H5Exception.hpp.

◆ getErrMinor()

hid_t HighFive::Exception::getErrMinor ( ) const
inline

HDF5 library error mapper.

Returns
HDF5 minor error number

Definition at line 61 of file H5Exception.hpp.

◆ nextException()

Exception* HighFive::Exception::nextException ( ) const
inline

nextException

Returns
pointer to the next exception in the chain, or NULL if not existing

Definition at line 49 of file H5Exception.hpp.

◆ setErrorMsg()

virtual void HighFive::Exception::setErrorMsg ( const std::string &  errmsg)
inlinevirtual

define the error message

Parameters
errmsg

Definition at line 40 of file H5Exception.hpp.

◆ what()

const char* HighFive::Exception::what ( ) const
throw (
)
inlineoverride

get the current exception error message

Returns

Definition at line 34 of file H5Exception.hpp.

Friends And Related Function Documentation

◆ HDF5ErrMapper

friend struct HDF5ErrMapper
friend

Definition at line 68 of file H5Exception.hpp.

Member Data Documentation

◆ _err_major

hid_t HighFive::Exception::_err_major
protected

Definition at line 66 of file H5Exception.hpp.

◆ _err_minor

hid_t HighFive::Exception::_err_minor
protected

Definition at line 66 of file H5Exception.hpp.

◆ _errmsg

std::string HighFive::Exception::_errmsg
protected

Definition at line 64 of file H5Exception.hpp.

◆ _next

details::Mem::shared_ptr<Exception> HighFive::Exception::_next
protected

Definition at line 65 of file H5Exception.hpp.


The documentation for this class was generated from the following file:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26