This is a mpqc::detail::Exception specialization that is the base of all exception classes in MPQC
◆ Exception() [1/3]
Exception::Exception |
( |
const char * |
description = 0 , |
|
|
const char * |
file = 0 , |
|
|
int |
line = 0 , |
|
|
const char * |
exception_type = "Exception" |
|
) |
| |
|
noexcept |
Create an Exception.
- Parameters
-
description | a description of the problem. |
file | the file name where the problem occured. |
line | the line number where the exception occured. |
exception_type | the classname of the Exception specialization. The default is "Exception". |
It is suggested that the special macros FILE and LINE be given as the file
and line
arguments, respectively.
◆ Exception() [2/3]
Exception::Exception |
( |
const Exception & |
ref | ) |
|
|
noexcept |
◆ Exception() [3/3]
◆ ~Exception()
Exception::~Exception |
( |
| ) |
|
|
virtualnoexcept |
◆ elaborate()
std::ostream & Exception::elaborate |
( |
| ) |
|
Returns a stream where additional information about the exception can be written. This will throw if a valid stream cannot be returned (possibly due to low memory).
◆ exception_type()
const char* mpqc::Exception::exception_type |
( |
| ) |
const |
|
inlinenoexcept |
Returns the classname of the exception. May return null.
◆ what()
const char * Exception::what |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following files: