|
Carna
Version 3.0.1
|
Defines Carna::base::CarnaException, Carna::base::AssertionFailure. More...
#include <Carna/Carna.h>#include <string>#include <sstream>#include <stdexcept>#include <csignal>
Include dependency graph for CarnaException.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Carna::base::CarnaException |
| Base exception class that provides distinct attributes for the type (category) of the exception, a message and an optional details section. More... | |
| class | Carna::base::AssertionFailure |
| Carna exception that indicates a failed assertion. More... | |
| class | Carna::base::BreakForDebug |
| Controls whether the CARNA_BREAK_FOR_DEBUG macro produces a break point or not. More... | |
Namespaces | |
| Carna::base | |
| Contains the core framework components. | |
Macros | |
| #define | CARNA_BREAK_FOR_DEBUG |
| Causes a break point in debug mode, does nothing in release mode. More... | |
| #define | CARNA_FAIL(description) |
| Causes a break point in debug mode and throws an AssertionFailure. More... | |
| #define | CARNA_ASSERT(expression) |
| If the given expression is false, a break point is raised in debug mode and an AssertionFailure thrown. More... | |
| #define | CARNA_ASSERT_EX(expression, description) |
| If the given expression is false, a break point is raised in debug mode and an AssertionFailure thrown, description being noted within the exception. More... | |
Defines Carna::base::CarnaException, Carna::base::AssertionFailure.
Definition in file CarnaException.h.
| #define CARNA_ASSERT | ( | expression | ) |
If the given expression is false, a break point is raised in debug mode and an AssertionFailure thrown.
Definition at line 212 of file CarnaException.h.
| #define CARNA_ASSERT_EX | ( | expression, | |
| description | |||
| ) |
If the given expression is false, a break point is raised in debug mode and an AssertionFailure thrown, description being noted within the exception.
Definition at line 237 of file CarnaException.h.
| #define CARNA_BREAK_FOR_DEBUG |
Causes a break point in debug mode, does nothing in release mode.
Definition at line 166 of file CarnaException.h.
| #define CARNA_FAIL | ( | description | ) |
Causes a break point in debug mode and throws an AssertionFailure.
Definition at line 188 of file CarnaException.h.
Documentation generated by Doxygen