NRP Core  1.4.1
NRPExceptionRecoverable Class Reference

Exception for recoverable errors. More...

#include <nrp_exceptions.h>

Inheritance diagram for NRPExceptionRecoverable:
NRPException

Public Member Functions

template<class T >
 NRPExceptionRecoverable (T &&msg, bool msgLogged=false)
 
 ~NRPExceptionRecoverable () override
 
- Public Member Functions inherited from NRPException
template<class T >
 NRPException (T &&msg, bool msgLogged=false)
 
 ~NRPException () override
 
const char * what () const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_NOTHROW override
 

Additional Inherited Members

- Static Public Member Functions inherited from NRPException
template<class EXCEPTION >
static void logOnce (EXCEPTION &exception, NRPLogger::spdlog_out_fcn_t spdlogCall=NRPLogger::critical)
 
template<class EXCEPTION = NRPExceptionNonRecoverable, class LOG_EXCEPTION_T >
static EXCEPTION logCreate (LOG_EXCEPTION_T &exception, const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall=NRPLogger::critical)
 
template<class EXCEPTION = NRPExceptionNonRecoverable>
static EXCEPTION logCreate (const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall=NRPLogger::critical)
 Logs the given message to the output, then returns EXCEPTION type. More...
 
template<>
void logCreate (const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall)
 
template<>
void logCreate (const std::string &msg, NRPLogger::spdlog_out_fcn_t spdlogCall)
 
- Protected Attributes inherited from NRPException
std::string _errMsg = ""
 

Detailed Description

Exception for recoverable errors.

Constructor & Destructor Documentation

◆ NRPExceptionRecoverable()

template<class T >
NRPExceptionRecoverable::NRPExceptionRecoverable ( T &&  msg,
bool  msgLogged = false 
)
inlineexplicit

◆ ~NRPExceptionRecoverable()

NRPExceptionRecoverable::~NRPExceptionRecoverable ( )
overridedefault

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