An exception thrown when we catch standard library exceptions in a worker thread. More...
Public Member Functions | |
StandardLibraryException (const std::exception &origException) throw () | |
Constructor. More... | |
StandardLibraryException (const StandardLibraryException &other) throw () | |
Copy constructor. More... | |
virtual | ~StandardLibraryException () throw () |
Destructor. More... | |
StandardLibraryException & | operator= (const StandardLibraryException &other) throw () |
Copy operator. More... | |
const char * | reason () const throw () |
Returns the what() message of the original exception. More... | |
virtual const char * | what () const throw () |
Returns a C string describing the exception. More... | |
Detailed Description
An exception thrown when we catch standard library exceptions in a worker thread.
We cannot clone standard library exceptions, so we simply copy the what() message here and use this to give feedback to the user
Definition at line 169 of file utilitiesexceptions.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
origException the standard library exception whose what() message we copy. The buffer for the message is at most 256 characters (including the '\0' terminator)
Definition at line 180 of file utilitiesexceptions.h.
|
inline |
Copy constructor.
- Parameters
-
other the exception to copy
Definition at line 194 of file utilitiesexceptions.h.
|
inlinevirtual |
Destructor.
Definition at line 226 of file utilitiesexceptions.h.
Member Function Documentation
|
inline |
Copy operator.
- Parameters
-
other the exception to copy
Definition at line 208 of file utilitiesexceptions.h.
|
inline |
Returns the what() message of the original exception.
- Returns
- the what() message of the original exception
Definition at line 245 of file utilitiesexceptions.h.
|
inlinevirtual |
Returns a C string describing the exception.
- Returns
- a C string describing the exception
Definition at line 235 of file utilitiesexceptions.h.
The documentation for this class was generated from the following file:
- utilities/include/utilitiesexceptions.h