DOpE
|
#include <optproblemcontainer.h>
Public Member Functions | |
DOpEExceptionHandler (DOpEOutputHandler< VECTOR > *OutputHandler) | |
~DOpEExceptionHandler () | |
void | HandleException (DOpEException &e, std::string reporter="undefined") |
void | HandleCriticalException (DOpEException &e, std::string reporter="undefined") |
Protected Member Functions | |
DOpEOutputHandler< VECTOR > * | GetOutputHandler () |
DOpE::DOpEExceptionHandler< VECTOR >::DOpEExceptionHandler | ( | DOpEOutputHandler< VECTOR > * | OutputHandler | ) |
DOpE::DOpEExceptionHandler< VECTOR >::~DOpEExceptionHandler | ( | ) |
|
inlineprotected |
void DOpE::DOpEExceptionHandler< VECTOR >::HandleCriticalException | ( | DOpEException & | e, |
std::string | reporter = "undefined" |
||
) |
This function handles critical exceptions, e.g., the equation couln't be solved. This function writes a warning message, and then terminates the program because it is impossible to continue after a severe problem.
void DOpE::DOpEExceptionHandler< VECTOR >::HandleException | ( | DOpEException & | e, |
std::string | reporter = "undefined" |
||
) |
This function handles non critical exceptions, e.g., if an iterative solver reached its maximal iteration count. This function writes a warning message, but doesn't stop the computation.