MISR Toolkit  1.5.1
Public Member Functions | Static Public Member Functions | Static Protected Attributes | Private Attributes
H5::Exception Class Reference

Exception provides wrappers of HDF5 error handling functions. More...

#include <H5Exception.h>

Inheritance diagram for H5::Exception:
Inheritance graph
Collaboration diagram for H5::Exception:
Collaboration graph

Public Member Functions

 Exception (const H5std_string &func_name, const H5std_string &message=DEFAULT_MSG)
 
H5std_string getMajorString (hid_t err_major_id) const
 
H5std_string getMinorString (hid_t err_minor_id) const
 
H5std_string getDetailMsg () const
 
const char * getCDetailMsg () const
 
H5std_string getFuncName () const
 
const char * getCFuncName () const
 
virtual void printError (FILE *stream=NULL) const
 
 Exception ()
 
 Exception (const Exception &orig)
 
virtual ~Exception () throw ()
 

Static Public Member Functions

static void setAutoPrint (H5E_auto2_t &func, void *client_data)
 
static void dontPrint ()
 
static void getAutoPrint (H5E_auto2_t &func, void **client_data)
 
static void clearErrorStack ()
 
static void walkErrorStack (H5E_direction_t direction, H5E_walk2_t func, void *client_data)
 
static void printErrorStack (FILE *stream=stderr, hid_t err_stack=H5E_DEFAULT)
 

Static Protected Attributes

static const char DEFAULT_MSG []
 

Private Attributes

H5std_string detail_message
 
H5std_string func_name
 

Detailed Description

Exception provides wrappers of HDF5 error handling functions.

Many classes are derived from Exception for specific HDF5 C interfaces.

Definition at line 33 of file H5Exception.h.

Constructor & Destructor Documentation

◆ Exception() [1/3]

H5::Exception::Exception ( const H5std_string func_name,
const H5std_string message = DEFAULT_MSG 
)

◆ Exception() [2/3]

H5::Exception::Exception ( )

◆ Exception() [3/3]

H5::Exception::Exception ( const Exception orig)

◆ ~Exception()

virtual H5::Exception::~Exception ( )
throw (
)
virtual

Member Function Documentation

◆ clearErrorStack()

static void H5::Exception::clearErrorStack ( )
static

◆ dontPrint()

static void H5::Exception::dontPrint ( )
static

◆ getAutoPrint()

static void H5::Exception::getAutoPrint ( H5E_auto2_t func,
void **  client_data 
)
static

◆ getCDetailMsg()

const char* H5::Exception::getCDetailMsg ( ) const

◆ getCFuncName()

const char* H5::Exception::getCFuncName ( ) const

◆ getDetailMsg()

H5std_string H5::Exception::getDetailMsg ( ) const

◆ getFuncName()

H5std_string H5::Exception::getFuncName ( ) const

◆ getMajorString()

H5std_string H5::Exception::getMajorString ( hid_t  err_major_id) const

◆ getMinorString()

H5std_string H5::Exception::getMinorString ( hid_t  err_minor_id) const

◆ printError()

virtual void H5::Exception::printError ( FILE *  stream = NULL) const
virtual

◆ printErrorStack()

static void H5::Exception::printErrorStack ( FILE *  stream = stderr,
hid_t  err_stack = H5E_DEFAULT 
)
static

◆ setAutoPrint()

static void H5::Exception::setAutoPrint ( H5E_auto2_t func,
void *  client_data 
)
static

◆ walkErrorStack()

static void H5::Exception::walkErrorStack ( H5E_direction_t  direction,
H5E_walk2_t  func,
void *  client_data 
)
static

Field Documentation

◆ DEFAULT_MSG

const char H5::Exception::DEFAULT_MSG[]
staticprotected

Definition at line 87 of file H5Exception.h.

◆ detail_message

H5std_string H5::Exception::detail_message
private

Definition at line 90 of file H5Exception.h.

◆ func_name

H5std_string H5::Exception::func_name
private

Definition at line 91 of file H5Exception.h.


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

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:54