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

#include <exception.h>

Inheritance diagram for psi::StepSizeError< T >:
psi::LimitExceeded< T > psi::PsiException

Public Member Functions

 StepSizeError (std::string resource_name, T max, T actual, const char *file, int line) throw ()
 
virtual ~StepSizeError () 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 = double>
class psi::StepSizeError< T >

Error in a step size

Member Typedef Documentation

template<class T = double>
typedef LimitExceeded<T> psi::StepSizeError< T >::ParentClass
private

Constructor & Destructor Documentation

template<class T >
psi::StepSizeError< T >::StepSizeError ( std::string  resource_name,
max,
actual,
const char *  file,
int  line 
)
throw (
)

Constructor

Parameters
resource_nameThe name of the value that is changed (scf, geometry, cc amps)
maxThe max (or min) value allowed
actualThe actual value obtained
fileThe file that threw the exception (use FILE macro)
lineThe line number that threw the exception (use LINE macro)
template<class T >
psi::StepSizeError< T >::~StepSizeError ( )
throw (
)
virtual

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