NDOSolver / FiOracle
Interfaces and Solvers for NonDifferentiable Optimization
|
#include <FiOracle.h>
Public Member Functions | |
NDOException (const char *const msg=0) | |
const char * | what (void) const throw () |
Private Attributes | |
const char * | errmsg |
Small class for exceptions. Derives from std::exception implementing the virtual method what() – and since what is virtual, remember to always catch it by reference (catch exception &e) if you want the thing to work. NDOException class are thought to be of the "fatal" type, i.e., problems for which no solutions exists apart from aborting the program. Other kinds of exceptions can be properly handled by defining derived classes with more information.