![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Carma exception throw by libcarma. More...
#include <carma_exception.h>
Public Member Functions | |
CarmaException (std::string reason, std::string file, unsigned int line) | |
Constructor. More... | |
~CarmaException () | |
Destructor. More... | |
const char * | show_reason () const |
Format into a const char *. More... | |
std::string | show_reason_str () const |
Format into a string. More... | |
Carma exception throw by libcarma.
Carma exception throw by libcarma
This class is used to throw a Carma exception (generally with libcarma)
Definition at line 59 of file carma_exception.h.
CarmaException::CarmaException | ( | std::string | reason, |
std::string | file, | ||
unsigned int | line | ||
) |
Constructor.
CarmaException Constructor
reason | : a detailed description of the error |
file | : which file this exception has been created |
line | : which line this exception has been created |
Definition at line 75 of file carma_exception.h.
CarmaException::~CarmaException | ( | ) |
const char* CarmaException::show_reason | ( | ) | const |
Format into a const char *.
Format the Carma exception into a const char *
Definition at line 94 of file carma_exception.h.
std::string CarmaException::show_reason_str | ( | ) | const |
Format into a string.
Format the Carma exception into a string
Definition at line 108 of file carma_exception.h.