OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
ConvergenceError Class Reference

Convergence error exception. More...

#include <ConvergenceError.h>

Inheritance diagram for ConvergenceError:
Collaboration diagram for ConvergenceError:

Public Member Functions

 ConvergenceError (const std::string &method, const std::string &message)
 The usual constructor.
 ConvergenceError (const ConvergenceError &)
virtual ~ConvergenceError ()
virtual const std::string & what () const
 Return the message string for the exception.
virtual const std::string & where () const
 Return the name of the method or function which detected the exception.

Protected Attributes

const std::string message
const std::string method

Private Member Functions

 ConvergenceError ()

Detailed Description

Convergence error exception.

Definition at line 32 of file ConvergenceError.h.

Constructor & Destructor Documentation

◆ ConvergenceError() [1/3]

ConvergenceError::ConvergenceError ( const std::string & method,
const std::string & message )

The usual constructor.

Definition at line 28 of file ConvergenceError.cpp.

References ArithmeticError::ArithmeticError().

Referenced by ConvergenceError().

Here is the call graph for this function:

◆ ConvergenceError() [2/3]

ConvergenceError::ConvergenceError ( const ConvergenceError & rhs)

Definition at line 33 of file ConvergenceError.cpp.

References ArithmeticError::ArithmeticError(), and ConvergenceError().

Here is the call graph for this function:

◆ ~ConvergenceError()

ConvergenceError::~ConvergenceError ( )
virtual

Definition at line 38 of file ConvergenceError.cpp.

◆ ConvergenceError() [3/3]

ConvergenceError::ConvergenceError ( )
private

Member Function Documentation

◆ what()

const std::string & ClassicException::what ( ) const
virtualinherited

Return the message string for the exception.

Reimplemented in EarlyLeaveException, and OpalException.

Definition at line 42 of file ClassicException.cpp.

References message.

Referenced by PySquarePolynomialMap::exact_solve(), PySquarePolynomialMap::least_squares(), OpalParser::readStatement(), and OpalParser::run().

◆ where()

const std::string & ClassicException::where ( ) const
virtualinherited

Return the name of the method or function which detected the exception.

Reimplemented in EarlyLeaveException, and OpalException.

Definition at line 47 of file ClassicException.cpp.

References method.

Referenced by OpalParser::run().

Member Data Documentation

◆ message

const std::string ClassicException::message
protectedinherited

Definition at line 60 of file ClassicException.h.

Referenced by ClassicException(), what(), and EarlyLeaveException::what().

◆ method

const std::string ClassicException::method
protectedinherited

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