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

Private Types

typedef LimitExceeded< T > ParentClass
 

Additional Inherited Members

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

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

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 ( )
throw (
)
virtual

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