StandardLibraryException Class Reference

An exception thrown when we catch standard library exceptions in a worker thread. More...

Inheritance diagram for StandardLibraryException:

Public Member Functions

 StandardLibraryException (const std::exception &origException) throw ()
 Constructor. More...
 
 StandardLibraryException (const StandardLibraryException &other) throw ()
 Copy constructor. More...
 
virtual ~StandardLibraryException () throw ()
 Destructor. More...
 
StandardLibraryExceptionoperator= (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

StandardLibraryException ( const std::exception &  origException)
throw (
)
inline

Constructor.

Parameters
origExceptionthe 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.

StandardLibraryException ( const StandardLibraryException other)
throw (
)
inline

Copy constructor.

Parameters
otherthe exception to copy

Definition at line 194 of file utilitiesexceptions.h.

virtual ~StandardLibraryException ( )
throw (
)
inlinevirtual

Destructor.

Definition at line 226 of file utilitiesexceptions.h.

Member Function Documentation

StandardLibraryException& operator= ( const StandardLibraryException other)
throw (
)
inline

Copy operator.

Parameters
otherthe exception to copy

Definition at line 208 of file utilitiesexceptions.h.

const char* reason ( ) const
throw (
)
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.

virtual const char* what ( ) const
throw (
)
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: