DOpE
Public Member Functions | Protected Member Functions
DOpE::DOpEExceptionHandler< VECTOR > Class Template Reference

#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 ()
 

Constructor & Destructor Documentation

template<typename VECTOR >
DOpE::DOpEExceptionHandler< VECTOR >::DOpEExceptionHandler ( DOpEOutputHandler< VECTOR > *  OutputHandler)
template<typename VECTOR >
DOpE::DOpEExceptionHandler< VECTOR >::~DOpEExceptionHandler ( )

Member Function Documentation

template<typename VECTOR>
DOpEOutputHandler<VECTOR>* DOpE::DOpEExceptionHandler< VECTOR >::GetOutputHandler ( )
inlineprotected
template<typename VECTOR >
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.

template<typename VECTOR >
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.


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