![]() |
THM1176InstrumentDriver 1.1
C++ API for Metrolab THM1176
|
Exception to be thrown. More...
#include <Exception.h>
Public Member Functions | |
CException (std::string const &rMessage, std::string const &rThrownLocation) | |
Constructor. | |
virtual const char * | what () const noexcept |
Return string describing what happened. | |
const char * | message () const noexcept |
Return the message. | |
const char * | context () const noexcept |
Return the context. | |
Protected Attributes | |
std::string | m_Message |
Message describing the exception. | |
std::string | m_ThrownLocation |
Context in which exception was thrown. | |
std::string | m_What |
Debugging output, with message and location. | |
Exception to be thrown.
A | Specialization of exception. |
Definition at line 16 of file Exception.h.
|
inline |
Constructor.
[in] | rMessage | Message describing the exception. |
[in] | rThrownLocation | Context in which exception was thrown |
Definition at line 27 of file Exception.h.
|
inlinenoexcept |
Return the context.
Definition at line 46 of file Exception.h.
|
inlinenoexcept |
Return the message.
Definition at line 40 of file Exception.h.
|
inlinevirtualnoexcept |
Return string describing what happened.
Definition at line 34 of file Exception.h.
|
protected |
Message describing the exception.
Definition at line 19 of file Exception.h.
|
protected |
Context in which exception was thrown.
Definition at line 20 of file Exception.h.
|
protected |
Debugging output, with message and location.
Definition at line 21 of file Exception.h.