|
Carna
Version 3.0.1
|
Base exception class that provides distinct attributes for the type (category) of the exception, a message and an optional details section. More...
#include <CarnaException.h>
Inheritance diagram for Carna::base::CarnaException:Public Member Functions | |
| CarnaException (const std::string &type, const std::string &message, const std::string &details="") | |
| Initializes the attributes plainly from the arguments. | |
| CarnaException (const std::logic_error &error, const std::string &details="") | |
| Initializes the type as ''Assertion Error'' and the message from the given exception. | |
| CarnaException (const std::runtime_error &error, const std::string &details="") | |
| Initializes the type as ''Unhandled Exception'' and the message from the given exception. | |
Public Attributes | |
| const std::string | type |
| Tells the type (category) of this exception. | |
| const std::string | message |
| Tells the message of this exception. | |
| const std::string | details |
| Tells the details of this exception. May be empty. | |
Base exception class that provides distinct attributes for the type (category) of the exception, a message and an optional details section.
Definition at line 46 of file CarnaException.h.
Documentation generated by Doxygen