NDOSolver / FiOracle
Interfaces and Solvers for NonDifferentiable Optimization
Loading...
Searching...
No Matches
NDOException Class Reference

#include <FiOracle.h>

Inheritance diagram for NDOException:

Public Member Functions

 NDOException (const char *const msg=0)
 
const char * what (void) const throw ()
 

Private Attributes

const char * errmsg
 

Detailed Description

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.


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