OpenM++ runtime library (libopenm)
openm::OpenmException< maxMsgSize, defaultMessage > Class Template Reference

openM++ exceptions More...

#include <omError.h>

Inheritance diagram for openm::OpenmException< maxMsgSize, defaultMessage >:
Collaboration diagram for openm::OpenmException< maxMsgSize, defaultMessage >:

Public Member Functions

 OpenmException (const char *i_format,...)
 create openM++ exception. More...
 
const char * what (void) const noexcept
 return error message
 

Detailed Description

template<size_t maxMsgSize, const char * defaultMessage>
class openm::OpenmException< maxMsgSize, defaultMessage >

openM++ exceptions

Constructor & Destructor Documentation

◆ OpenmException()

template<size_t maxMsgSize, const char * defaultMessage>
openm::OpenmException< maxMsgSize, defaultMessage >::OpenmException ( const char *  i_format,
  ... 
)
inline

create openM++ exception.


if i_format is NULL then use default error message
else make formatted message by vsnprintf()


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