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

Singular matrix exception. More...

#include <SingularMatrixError.h>

Inheritance diagram for SingularMatrixError:
Inheritance graph
Collaboration diagram for SingularMatrixError:
Collaboration graph

Public Member Functions

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

Protected Attributes

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

Private Member Functions

 SingularMatrixError ()
 

Detailed Description

Singular matrix exception.

Definition at line 33 of file SingularMatrixError.h.

Constructor & Destructor Documentation

◆ SingularMatrixError() [1/3]

SingularMatrixError::SingularMatrixError ( const std::string &  meth)
explicit

The usual constructor.

Definition at line 28 of file SingularMatrixError.cpp.

◆ SingularMatrixError() [2/3]

SingularMatrixError::SingularMatrixError ( const SingularMatrixError rhs)

Definition at line 33 of file SingularMatrixError.cpp.

◆ ~SingularMatrixError()

SingularMatrixError::~SingularMatrixError ( )
virtual

Definition at line 38 of file SingularMatrixError.cpp.

◆ SingularMatrixError() [3/3]

SingularMatrixError::SingularMatrixError ( )
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 ClassicException::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 ClassicException::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().

◆ method

const std::string ClassicException::method
protectedinherited

Definition at line 61 of file ClassicException.h.

Referenced by ClassicException::where().


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