Psi4
Public Member Functions | List of all members
psi::SanityCheckError Class Reference

#include <exception.h>

Inheritance diagram for psi::SanityCheckError:
psi::PsiException

Public Member Functions

 SanityCheckError (std::string message, const char *file, int line) noexcept
 
virtual ~SanityCheckError () noexcept
 
- Public Member Functions inherited from psi::PsiException
 PsiException (std::string message, const char *file, int line) noexcept
 
 PsiException (const PsiException &copy) noexcept
 
virtual ~PsiException () noexcept
 
PsiExceptionoperator= (const PsiException &other)
 
const char * what () const noexcept
 
const char * file () const noexcept
 
const char * location () const noexcept
 
int line () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from psi::PsiException
void rewrite_msg (std::string msg) noexcept
 

Detailed Description

Exception for sanity checks being performed, e.g. checking alignment of matrix multiplication.

Constructor & Destructor Documentation

psi::SanityCheckError::SanityCheckError ( std::string  message,
const char *  file,
int  line 
)
noexcept

Constructor

Parameters
messageThe message that will be printed by exception
fileThe file that threw the exception (use FILE macro)
lineThe line number that threw the exception (use LINE macro)
psi::SanityCheckError::~SanityCheckError ( )
virtualnoexcept

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