swift
|
Throwable exception class containing a CStatusMessage. More...
Public Member Functions | |
CStatusException (const CStatusMessage &payload) | |
Constructor. | |
CStatusException (const CStatusException &other) | |
Copy constructor (because of mutex) | |
CStatusException & | operator= (const CStatusException &)=delete |
Copy assignment (because of mutex) | |
virtual const char * | what () const noexcept |
Return null-terminated message string. | |
const CStatusMessage & | status () const |
Return the contained status message. | |
~CStatusException () | |
Destructor. | |
Static Public Member Functions | |
static void | maybeThrow (const CStatusMessage &) |
If the message is not empty then throw it. | |
Throwable exception class containing a CStatusMessage.
Definition at line 22 of file statusexception.h.