Differential Evolution C++ library
de::exception Class Reference

#include <de_types.hpp>

Inheritance diagram for de::exception:

List of all members.

Public Member Functions

 exception (const char *what)
virtual const char * what () const throw ()

Detailed Description

de exception conforms to the C++ standard (MS implementation of std::exception has non-standard constructors)

Author:
adrian (4/11/2012)

Constructor & Destructor Documentation

de::exception::exception ( const char *  what) [inline]

Constructor that takes a C string as argument which is the message associated with the exception

Author:
adrian (4/11/2012)
Parameters:
what

Member Function Documentation

virtual const char* de::exception::what ( ) const throw () [inline, virtual]

To be used with care - if the exception object goes out of scope, the pointer returned by this function becomes invalid

Author:
adrian (4/11/2012)
Returns:
const char* the message associated with the exception

Here is the caller graph for this function:


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