Psi4
Public Member Functions | Private Types | List of all members
psi::MaxIterationsExceeded< T > Class Template Reference

#include <exception.h>

Inheritance diagram for psi::MaxIterationsExceeded< T >:
psi::LimitExceeded< T > psi::PsiException psi::ConvergenceError< T >

Public Member Functions

 MaxIterationsExceeded (std::string routine_name, T max, const char *file, int line) noexcept
 
virtual ~MaxIterationsExceeded () noexcept
 
- Public Member Functions inherited from psi::LimitExceeded< T >
 LimitExceeded (std::string resource_name, T maxval, T errorval, const char *f, int l) noexcept
 
max_value () const noexcept
 
actual_value () const noexcept
 
virtual ~LimitExceeded () noexcept
 
- Public Member Functions inherited from psi::PsiException
 PsiException (std::string message, const char *file, int line) noexcept
 
 PsiException (const PsiException &copy) noexcept
 
virtual ~PsiException () noexcept
 
PsiExceptionoperator= (const PsiException &other)
 
const char * what () const noexcept
 
const char * file () const noexcept
 
const char * location () const noexcept
 
int line () const noexcept
 

Private Types

typedef LimitExceeded< T > ParentClass
 

Additional Inherited Members

- Protected Member Functions inherited from psi::LimitExceeded< T >
const char * description () const noexcept
 
- Protected Member Functions inherited from psi::PsiException
void rewrite_msg (std::string msg) noexcept
 

Detailed Description

template<class T = int>
class psi::MaxIterationsExceeded< T >

Maximum number of iterations exceeded

Member Typedef Documentation

template<class T = int>
typedef LimitExceeded<T> psi::MaxIterationsExceeded< T >::ParentClass
private

Constructor & Destructor Documentation

template<class T >
psi::MaxIterationsExceeded< T >::MaxIterationsExceeded ( std::string  routine_name,
max,
const char *  file,
int  line 
)
noexcept

Constructor

Parameters
routine_nameThe name of the routine that is not converging (e.g. scf, ccsd, optking disp)
maxThe max number of iterations
fileThe file that threw the exception (use FILE macro)
lineThe line number that threw the exception (use LINE macro)
template<class T >
psi::MaxIterationsExceeded< T >::~MaxIterationsExceeded ( )
virtualnoexcept

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