mpqc::FeatureDisabled Class Reference
Collaboration diagram for mpqc::FeatureDisabled:

Documentation

‍** This is thrown when a verbose assertion fails. It is used by the

This exception is thrown whenever a feature is disabled, typically based on configuration environment, e.g. when an optional prerequisite necessary to perform a computation is not available.

Public Member Functions

 FeatureDisabled (const char *description=0, const char *file=0, int line=0, const char *exception_type="FeatureDisabled") noexcept
 
 FeatureDisabled (const FeatureDisabled &)=default
 
 FeatureDisabled (FeatureDisabled &)=default
 
virtual ~FeatureDisabled ()=default
 
- Public Member Functions inherited from mpqc::Exception
 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 ()
 
- Public Member Functions inherited from mpqc::detail::Exception
 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

◆ FeatureDisabled() [1/3]

FeatureDisabled::FeatureDisabled ( const char *  description = 0,
const char *  file = 0,
int  line = 0,
const char *  exception_type = "FeatureDisabled" 
)
noexcept

Create an FeatureDisabled.

Parameters
descriptiona description of the problem.
filethe file name where the problem occured.
linethe line number where the exception occured.
exception_typethe classname of the Exception specialization. The default is "AlgorithmException".

It is suggested that the special macros FILE and LINE be given as the file and line arguments, respectively.

◆ FeatureDisabled() [2/3]

mpqc::FeatureDisabled::FeatureDisabled ( const FeatureDisabled )
default

◆ FeatureDisabled() [3/3]

mpqc::FeatureDisabled::FeatureDisabled ( FeatureDisabled )
default

◆ ~FeatureDisabled()

virtual mpqc::FeatureDisabled::~FeatureDisabled ( )
virtualdefault

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