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

Thrown whenever a module should be run but its requirements are not completely met. More...

#include <WModuleRequirementNotMet.h>

+ Inheritance diagram for WModuleRequirementNotMet:
+ Collaboration diagram for WModuleRequirementNotMet:

Public Member Functions

 WModuleRequirementNotMet (const WRequirement *requirement)
 Default constructor. More...
 
virtual ~WModuleRequirementNotMet () throw ()
 Destructor. More...
 
- Public Member Functions inherited from WModuleException
 WModuleException (const std::string &msg="Module Exception")
 Default constructor. More...
 
virtual ~WModuleException () throw ()
 Destructor. More...
 
- Public Member Functions inherited from WKernelException
 WKernelException (const std::string &msg="Kernel Exception")
 Default constructor. More...
 
virtual ~WKernelException () 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

Thrown whenever a module should be run but its requirements are not completely met.

Definition at line 39 of file WModuleRequirementNotMet.h.

Constructor & Destructor Documentation

◆ WModuleRequirementNotMet()

WModuleRequirementNotMet::WModuleRequirementNotMet ( const WRequirement *  requirement)
explicit

Default constructor.

Creates an instance and sets the message according to the requirement specified here.

Parameters
requirementthe requirement that was not met.

Definition at line 32 of file WModuleRequirementNotMet.cpp.

◆ ~WModuleRequirementNotMet()

WModuleRequirementNotMet::~WModuleRequirementNotMet ( )
throw (
)
virtual

Destructor.

Definition at line 38 of file WModuleRequirementNotMet.cpp.


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