OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WGESignalSubscriptionFailed Class Reference

Exception thrown if a notifier could not be subscribed to a signal. More...

#include <WGESignalSubscriptionFailed.h>

+ Inheritance diagram for WGESignalSubscriptionFailed:
+ Collaboration diagram for WGESignalSubscriptionFailed:

Public Member Functions

 WGESignalSubscriptionFailed (const std::string &msg="Could not subscribe to unknown signal.")
 Default constructor. More...
 
virtual ~WGESignalSubscriptionFailed () throw ()
 Destructor. More...
 
- Public Member Functions inherited from WGEException
 WGEException (const std::string &msg="Graphics Engine Exception")
 Default constructor. More...
 
virtual ~WGEException () throw ()
 Destructor. More...
 
- Public Member Functions inherited from WException
 WException (const std::string &msg=std::string())
 Default constructor. More...
 
 WException (const std::exception &e)
 Copy a std::exception and encapsulate it. More...
 
virtual ~WException () throw ()
 Destructor. More...
 
virtual const char * what () const throw ()
 Returns the message string set on throw. More...
 
std::string getTrace () const
 Prints the trace of the call chain which caused this exception. More...
 
std::string getBacktrace () const
 Returns a call stacktrace. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from WException
static void disableBacktrace ()
 Function disables backtraces. More...
 
- Protected Attributes inherited from WException
std::string m_msg
 Message given during throw. More...
 
std::list< std::string > m_trace
 Stack trace for identifying the source where this exception came from. More...
 
- Static Protected Attributes inherited from WException
static bool noBacktrace = false
 True if the backtrace should NOT be printed. More...
 

Detailed Description

Exception thrown if a notifier could not be subscribed to a signal.

Definition at line 37 of file WGESignalSubscriptionFailed.h.

Constructor & Destructor Documentation

◆ WGESignalSubscriptionFailed()

WGESignalSubscriptionFailed::WGESignalSubscriptionFailed ( const std::string &  msg = "Could not subscribe to unknown signal.")
explicit

Default constructor.

Parameters
msgthe exception message.

Definition at line 29 of file WGESignalSubscriptionFailed.cpp.

◆ ~WGESignalSubscriptionFailed()

WGESignalSubscriptionFailed::~WGESignalSubscriptionFailed ( )
throw (
)
virtual

Destructor.

Definition at line 34 of file WGESignalSubscriptionFailed.cpp.


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