swift
Public Member Functions | Static Public Member Functions | List of all members
swift::misc::CStatusException Class Reference

Throwable exception class containing a CStatusMessage. More...

Inheritance diagram for swift::misc::CStatusException:
[legend]

Public Member Functions

 CStatusException (const CStatusMessage &payload)
 Constructor.
 
 CStatusException (const CStatusException &other)
 Copy constructor (because of mutex)
 
CStatusExceptionoperator= (const CStatusException &)=delete
 Copy assignment (because of mutex)
 
virtual const char * what () const noexcept
 Return null-terminated message string.
 
const CStatusMessagestatus () 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.
 

Detailed Description

Throwable exception class containing a CStatusMessage.

Definition at line 22 of file statusexception.h.


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