ADTF
base/include/adtfbase/exception_handling.h
Go to the documentation of this file.
1 
7 #pragma once
8 
10 #include <string>
11 #include <sstream>
12 #include <exception>
13 
14 namespace adtf
15 {
16 namespace base
17 {
18 namespace elasto
19 {
20 
26 inline std::string nested_exceptions_to_string(const std::exception& error)
27 {
29 }
30 
36 inline std::string current_exception_to_string()
37 {
39 }
40 
47 {
49 }
50 
51 }
52 
56 
57 }
58 }
59 
61 #define ADTF_BASE_ANNOTATE_RESULT(_result) ADTF_UCOM_ANNOTATE_RESULT(_result)
62 
64 #define ADTF_BASE_COMPOSED_RESULT(_result, ...) ADTF_UCOM_COMPOSED_RESULT(_result, __VA_ARGS__)
std::string current_exception_to_string()
Trys to format the current exception into a string.
tResult current_exception_to_result()
Converts the current exception object into a tResult.
std::string nested_exceptions_to_string(const std::exception &error)
Formats nested std::exceptions into a string, line by line.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.