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

#include <exception.h>

Inheritance diagram for psi::SanityCheckError:

Public Member Functions

 SanityCheckError (std::string message, const char *file, int line) noexcept
 ~SanityCheckError () noexceptoverride
- Public Member Functions inherited from psi::PsiException
 PsiException (std::string message, const char *file, int line) noexcept
 PsiException (const PsiException &copy) noexcept
 ~PsiException () noexceptoverride
PsiExceptionoperator= (const PsiException &other)
const char * what () const noexceptoverride
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 


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 ( )

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