•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
mpqc::MaxIterExceeded Class Reference
Collaboration diagram for mpqc::MaxIterExceeded:

Documentation
This is thrown when an iterative algorithm attempts to use more iterations than allowed.
Public Member Functions | |
MaxIterExceeded (const char *description=0, const char *file=0, int line=0, int maxiter=0, const char *exception_type="MaxIterExceeded") noexcept | |
MaxIterExceeded (const MaxIterExceeded &)=default | |
MaxIterExceeded (MaxIterExceeded &&)=default | |
virtual ~MaxIterExceeded ()=default | |
int max_iter () const noexcept | |
Return the maximum number of iterations. More... | |
![]() | |
AlgorithmException (const char *description=0, const char *file=0, int line=0, const char *exception_type="AlgorithmException") noexcept | |
AlgorithmException (const AlgorithmException &)=default | |
AlgorithmException (AlgorithmException &&)=default | |
virtual ~AlgorithmException ()=default | |
![]() | |
Exception (const char *description=0, const char *file=0, int line=0, const char *exception_type="Exception") noexcept | |
Exception (const Exception &) noexcept | |
Exception (Exception &&)=default | |
virtual ~Exception () noexcept | |
const char * what () const noexcept | |
overload of Exception::what() More... | |
const char * exception_type () const noexcept | |
Returns the classname of the exception. May return null. More... | |
std::ostream & elaborate () | |
![]() | |
Exception (const char *description=0, const char *file=0, int line=0) noexcept | |
Exception (const Exception &)=default | |
Exception (Exception &&)=default | |
const char * description () const noexcept | |
const char * file () const noexcept | |
int line () const noexcept | |
Constructor & Destructor Documentation
◆ MaxIterExceeded() [1/3]
|
noexcept |
Create a MaxIterExceeded exception.
- Parameters
-
description a description of the problem. file the file name where the problem occured. line the line number where the exception occured. maxiter the maximum number of iterations. exception_type the classname of the Exception specialization. The default is "MaxIterExceeded".
It is suggested that the special macros FILE and LINE be given as the file
and line
arguments, respectively.
◆ MaxIterExceeded() [2/3]
|
default |
◆ MaxIterExceeded() [3/3]
|
default |
◆ ~MaxIterExceeded()
|
virtualdefault |
Member Function Documentation
◆ max_iter()
|
inlinenoexcept |
Return the maximum number of iterations.
The documentation for this class was generated from the following files:
- mpqc/util/core/exception.h
- mpqc/util/core/exception.cpp