SLATE 2024.05.31
Software for Linear Algebra Targeting Exascale
Loading...
Searching...
No Matches
slate::Exception Class Reference

Base class for SLATE exceptions. More...

#include <Exception.hh>

Inheritance diagram for slate::Exception:
slate::FalseConditionException slate::MpiException slate::NotImplemented slate::TrueConditionException

Public Member Functions

 Exception (std::string const &msg)
 Sets the what() message to msg.
 
 Exception (std::string const &msg, const char *func, const char *file, int line)
 Sets the what() message to msg with func, file, line appended.
 
virtual char const * what () const noexcept override
 

Protected Member Functions

void what (std::string const &msg, const char *func, const char *file, int line)
 Sets the what() message to msg with func, file, line appended.
 

Detailed Description

Base class for SLATE exceptions.

Member Function Documentation

◆ what() [1/2]

virtual char const * slate::Exception::what ( ) const
inlineoverridevirtualnoexcept
Returns
message describing the exception.

◆ what() [2/2]

void slate::Exception::what ( std::string const &  msg,
const char *  func,
const char *  file,
int  line 
)
inlineprotected

Sets the what() message to msg with func, file, line appended.

See MpiException in mpi.hh.


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