#include <StdException.h>
Simple exception class that implements the what() function of std::exception to specify an error message.
◆ StdException() [1/2]
StdException::StdException |
( |
| ) |
|
throw | ( | |
| ) | | |
Constructor that sets the error message object to "Error."
References message.
◆ StdException() [2/2]
StdException::StdException |
( |
const std::string |
what | ) |
|
throw | ( | |
| ) | | |
|
explicit |
Constructor that sets the error message object to the string given.
◆ ~StdException()
StdException::~StdException |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
Destructor that does nothing.
◆ what()
const char * StdException::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
Returns the error message object as a character array.
References message.
◆ message
std::string StdException::message |
|
protected |
The documentation for this class was generated from the following files: