OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions
WLibraryLoadFailed Class Reference

Thrown whenever a library could not been loaded. More...

#include <WLibraryLoadFailed.h>

+ Inheritance diagram for WLibraryLoadFailed:

List of all members.

Public Member Functions

 WLibraryLoadFailed (const std::string &msg="The library could not be loaded.")
 Default constructor.
virtual ~WLibraryLoadFailed () throw ()
 Destructor.
- Public Member Functions inherited from WException
 WException (const std::string &msg=std::string())
 Default constructor.
 WException (const std::exception &e)
 Copy a std::exception and encapsulate it.
virtual ~WException () throw ()
 Destructor.
virtual const char * what () const throw ()
 Returns the message string set on throw.
std::string getTrace () const
 Prints the trace of the call chain which caused this exception.
std::string getBacktrace () const
 Returns a call stacktrace.

Additional Inherited Members

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

Detailed Description

Thrown whenever a library could not been loaded.

This may be caused by a file not found error or link errors.

Definition at line 36 of file WLibraryLoadFailed.h.


Constructor & Destructor Documentation

WLibraryLoadFailed::WLibraryLoadFailed ( const std::string &  msg = "The library could not be loaded.")
explicit

Default constructor.

Parameters:
msgthe exception message.

Definition at line 29 of file WLibraryLoadFailed.cpp.

WLibraryLoadFailed::~WLibraryLoadFailed ( ) throw ()
virtual

Destructor.

Definition at line 35 of file WLibraryLoadFailed.cpp.


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