radarlib 1.4.6
OdimH5v20::OdimH5HDF5LibException Class Reference

HDF5 exception inside Odim Classes. More...

#include <radarlib/odimh5v20_exceptions.hpp>

Inheritance diagram for OdimH5v20::OdimH5HDF5LibException:
OdimH5v20::OdimH5Exception

Public Member Functions

 OdimH5HDF5LibException (const std::string &msg)
 Initialize the exception.
 
 OdimH5HDF5LibException (H5::Exception &h5e)
 Initialize the exception.
 
 OdimH5HDF5LibException (const std::string &msg, H5::Exception &h5e)
 Initialize the exception.
 

Detailed Description

HDF5 exception inside Odim Classes.

When HDF5 library raises an exception, OdimH5 classes catch it and throw this exception instead.

Remarks
For some reasons HDF5 library throws exceptions without meaningfull messages or NULL buffers. In oder to avoid null pointer exceptions we OdimH5 library use exception when a HDF5 exception is thrown

Constructor & Destructor Documentation

◆ OdimH5HDF5LibException() [1/3]

OdimH5v20::OdimH5HDF5LibException::OdimH5HDF5LibException ( const std::string &  msg)

Initialize the exception.

Initialize the exception using the given free message

Parameters
msgthe generic error msg

◆ OdimH5HDF5LibException() [2/3]

OdimH5v20::OdimH5HDF5LibException::OdimH5HDF5LibException ( H5::Exception &  h5e)

Initialize the exception.

Initialize the exception using the original HDF5 library exception

Parameters
h5ethe HDF5 exception to wrap

◆ OdimH5HDF5LibException() [3/3]

OdimH5v20::OdimH5HDF5LibException::OdimH5HDF5LibException ( const std::string &  msg,
H5::Exception &  h5e 
)

Initialize the exception.

Initialize the exception using the given free message and the original HDF5 library exception

Parameters
msgthe error description
h5ethe original HDF5 exception

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