#include <exception>#include <iostream>#include <string>#include <cstdlib>#include <sstream>#include <new>#include "outputOperator.hh"Go to the source code of this file.
Classes | |
| class | concepts::Stacktrace |
| class | concepts::ExceptionBase |
| class | concepts::DimensionMismatch |
| class | concepts::WrongInputException |
| class | concepts::IndexNotExisting |
| class | concepts::MissingFeature |
| class | concepts::Assertion |
Namespaces | |
| namespace | concepts |
Macros | |
| #define | __PRETTY_FUNCTION__ "(unknown)" |
| #define | conceptsException(exc) |
| #define | CONCEPTS_SIMPLE_EXC(msg) |
| #define | conceptsAssert(cond, exc) { } |
| #define | conceptsThrowSimpleE(msg) |
| #define | conceptsAssert3(cond, exc, msg) { } |
Functions | |
| template<class exc > | |
| exc | concepts::exception_set_fields (exc e, const std::string &file, const unsigned int line, const std::string &function, const std::string &excName) |
| template<class exc > | |
| void | concepts::exception_throw_assert (const std::string &file, int line, const std::string &function, const std::string &exc_name, const std::string &cond, exc e) |
Exception classes file
Assert: an exeption should be thrown with information about: file, line, function, violated condition, exception name. This exception can be handled in the main program.
Definition in file exceptions.hh.
| #define __PRETTY_FUNCTION__ "(unknown)" |
Definition at line 296 of file exceptions.hh.
| #define CONCEPTS_SIMPLE_EXC | ( | msg | ) |
Definition at line 348 of file exceptions.hh.
| #define conceptsException | ( | exc | ) |
Prepares an exception for throwing. This is the main routine in the exception mechanism for production mode error checking. See the ExceptionBase class for more information.
| exc | Exception to be thrown |
Definition at line 344 of file exceptions.hh.